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


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

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