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


IMapLayerInfo3.ID Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

IMapLayerInfo3.ID Property

The layer identifier. This ID is used throughout to uniquely identify the layer for all requests.

[Visual Basic .NET]
Public ReadOnly Property ID As Integer
[C#]
public int ID {get;}
[C++]
HRESULT get_ID(
  System.Int32* LayerID
);
[C++]

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

Product Availability

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

See Also

IMapLayerInfo3 Interface