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


IMapServerLegendInfo.LayerID Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

IMapServerLegendInfo.LayerID Property

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.

See Also

IMapServerLegendInfo Interface