This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > EditorExt > ESRI.ArcGIS.EditorExt > Interfaces > IM > IMapTopology2 Interface > IMapTopology2.Layer Property (ArcObjects .NET 10.4 SDK) |
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 );
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.