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