This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > ArcMapUI > ESRI.ArcGIS.ArcMapUI > Interfaces > IM > IMoveLayersOperation Interface > IMoveLayersOperation.AddLayerInfo Method (ArcObjects .NET 10.4 SDK) |
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 );