ArcObjects Library Reference (Carto)  

ILegendClasses.Element Property

The legend class at the specified position.

[Visual Basic .NET]
Public Function get_Element ( _
    ByVal Index As Integer _
) As ILegendClass
[C#]
public ILegendClass get_Element (
    int Index
);
[C++]
HRESULT get_Element(
  long Index,
  ILegendClass** LegendClass
);
[C++]

Parameters

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

  LegendClass is a parameter of type ILegendClass

Product Availability

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

See Also

ILegendClasses Interface