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


IToolSelectedLayer.LayerIndex Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > SystemUI > ESRI.ArcGIS.SystemUI > Interfaces > IT > IToolSelectedLayer Interface > IToolSelectedLayer.LayerIndex Property
ArcGIS Developer Help

IToolSelectedLayer.LayerIndex Property

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(
  System.Int32* LayerIndex
);
[C++]
Parameters
LayerIndex [in]

LayerIndex is a parameter of type long LayerIndex [out, retval]
LayerIndex is a parameter of type long*

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

The index of the currently 'selected' layer that the Command operates with.

See Also

IToolSelectedLayer Interface