ArcObjects Library Reference  (Carto)    

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 6.0]
Property ID As Long
[Visual Basic .NET]
Public Property ID As Integer
[C#]
public int ID {get; set;}
[Java]
public int getID()
throws
    IOException,
    AutomationException
[Java]
public void setID(
Long ID
)
throws
    IOException,
    AutomationException
[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

Product Availability

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

See Also

ILayerDescriptor Interface