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


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