The Feature Class Layer ID.
[Visual Basic .NET] Public ReadOnly Property LayerID As String
[C#] public string LayerID {get;}
[C++]
HRESULT get_LayerID(
BSTR* LayerID
);
[C++]Parameters
LayerID [out, retval] LayerID is a parameter of type BSTR
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.