This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > SystemUI > ESRI.ArcGIS.SystemUI > Interfaces > IT > IToolSelectedLayer Interface > IToolSelectedLayer.LayerIndex Property (ArcObjects .NET 10.5 SDK) |
The index of selected layer.
[Visual Basic .NET] Public Property LayerIndex As Integer
[C#] public int LayerIndex {get; set;}
[C++]
HRESULT get_LayerIndex(
long* LayerIndex
);
[C++]
HRESULT put_LayerIndex(
long LayerIndex
);
[C++]
Parameters LayerIndex [out, retval] LayerIndex is a parameter of type long LayerIndex [in] LayerIndex is a parameter of type long
The index of the currently 'selected' layer that the Command operates with.