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


IMapTopology2.Layer Property (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.Layer Property
ArcGIS Developer Help

IMapTopology2.Layer Property

A reference to the specified layer in this map topology.

[Visual Basic .NET]
Public Function get_Layer ( _
    ByVal index As Integer _
) As IFeatureLayer
[C#]
public IFeatureLayer get_Layer (
    int index
);

Product Availability

Available with ArcGIS Desktop.

Remarks

Use FindLayer to return the index position of the desired layer. Use this index with the Layer method that returns a specific layer based on its index in the MapTopology.

See Also

IMapTopology2 Interface