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

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

IMapServerLegendClasses.Element Property

The legend class at the specified position.

[Visual Basic .NET]
Public Function get_Element ( _
    ByVal Index As Integer _
) As IMapServerLegendClass
public IMapServerLegendClass get_Element (
    int Index
HRESULT get_Element(
  long Index,
  IMapServerLegendClass** LegendClass
Index [in]

Index is a parameter of type long LegendClass [out, retval]
LegendClass is a parameter of type IMapServerLegendClass**

Product Availability

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

See Also

IMapServerLegendClasses Interface