ArcObjects Library Reference (Carto)  

IMapLayerInfo4.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(
  long* 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

IMapLayerInfo4 Interface