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

IRemoveLayersOperation.AddLayerInfo Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > ArcMapUI > ESRI.ArcGIS.ArcMapUI > Interfaces > IR > IRemoveLayersOperation Interface > IRemoveLayersOperation.AddLayerInfo Method
ArcGIS Developer Help

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 _
public void AddLayerInfo (
    ILayer pLayer,
    IMap pSourceMap,
    IGroupLayer pSourceGroup

Product Availability

Available with ArcGIS Desktop.

See Also

IRemoveLayersOperation Interface