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


IMapServerLegendInfo.LayerID Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IM > IMapServerLegendInfo Interface > IMapServerLegendInfo.LayerID Property
ArcGIS Developer Help

IMapServerLegendInfo.LayerID Property

The layer ID.

[Visual Basic .NET]
Public ReadOnly Property LayerID As Integer
[C#]
public int LayerID {get;}
[C++]
HRESULT get_LayerID(
  System.Int32* 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