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


ILegendGroups.Element Property (ArcObjects .NET 10.6 SDK)
ArcObjects Library Reference (Carto)  

ILegendGroups.Element Property

Legend group at the specified position.

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

Parameters Index [in]
Index is a parameter of type long LegendGroup [out, retval]
LegendGroup is a parameter of type ILegendGroup**

Product Availability

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

See Also

ILegendGroups Interface