This document is archived and information here might be outdated. Recommended version. |
ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILayerDescriptor Interface > ILayerDescriptor.ID Property (ArcObjects .NET 10.4 SDK) |
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(
long* LayerID
);
[C++]
HRESULT put_ID(
long LayerID
);
[C++]
Parameters LayerID [out, retval] LayerID is a parameter of type long LayerID [in] LayerID is a parameter of type long