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


IMapTopology2.AddLayer Method (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > EditorExt > ESRI.ArcGIS.EditorExt > Interfaces > IM > IMapTopology2 Interface > IMapTopology2.AddLayer Method
ArcGIS Developer Help

IMapTopology2.AddLayer Method

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
);

Product Availability

Available with ArcGIS Desktop.

Remarks

Use AddLayer to append additional editable feature layers to the map.  Only layers that implement ITopologyClass can be added to a MapTopology.

See Also

IMapTopology2 Interface