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


IMapTopology2.AddLayer Method (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (EditorExt)  

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