ArcObjects Library Reference (SystemUI)  

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(
  long LayerIndex
);
[C++]

Parameters

LayerIndex [out, retval]   LayerIndex is a parameter of type long LayerIndex [in]   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