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


IMapTopology2.Layer Property (ArcObjects .NET 10.4 SDK)
ArcObjects Library Reference (EditorExt)  

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