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


ILayerDescriptor.ID Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILayerDescriptor Interface > ILayerDescriptor.ID Property
ArcGIS Developer Help

ILayerDescriptor.ID Property

The layer ID. This is a unique ID for the map, and is used to identify the layer in a number of method calls.

[Visual Basic .NET]
Public Property ID As Integer
[C#]
public int ID {get; set;}
[C++]
HRESULT get_ID(
void
);
[C++]
HRESULT put_ID(
);

Product Availability

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

See Also

ILayerDescriptor Interface