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


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

IMoveLayersOperation.AddLayerInfo Method

Information of the layer to be moved. Source group is NULL if the layer belongs to a map. This method can be called repeatedly until all the layers are added.

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

Product Availability

Available with ArcGIS Desktop.

See Also

IMoveLayersOperation Interface