The layer ID.
[Visual Basic .NET] Public ReadOnly Property LayerID As Integer
[C#] public int LayerID {get;}
[C++]
HRESULT get_LayerID(
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.