This document is archived and information here might be outdated.  Recommended version.


IRemoveLayersOperation.AddLayerInfo Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (ArcMapUI)  

IRemoveLayersOperation.AddLayerInfo Method

Adds the information of the layer that needs to be removed.

[Visual Basic .NET]
Public Sub AddLayerInfo ( _
    ByVal pLayer As ILayer, _
    ByVal pSourceMap As IMap, _
    ByVal pSourceGroup As IGroupLayer _
)
[C#]
public void AddLayerInfo (
    ILayer pLayer,
    IMap pSourceMap,
    IGroupLayer pSourceGroup
);

Product Availability

Available with ArcGIS Desktop.

See Also

IRemoveLayersOperation Interface