This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > EditorExt > ESRI.ArcGIS.EditorExt > Interfaces > IM > IMapTopology2 Interface > IMapTopology2.AddLayer Method (ArcObjects .NET 10.4 SDK) |
Adds a layer to this map topology. All existing topology elements will become invalid.
[Visual Basic .NET] Public Sub AddLayer ( _ ByVal Layer As IFeatureLayer _ )
[C#] public void AddLayer ( IFeatureLayer Layer );
Use AddLayer to append additional editable feature layers to the map. Only layers that implement ITopologyClass can be added to a MapTopology.