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


IToolSelectedLayer.LayerIndex Property (ArcObjects .NET 10.5 SDK)
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