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


ILegendItem2.GroupIndex Property (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Carto > ESRI.ArcGIS.Carto > Interfaces > IL > ILegendItem2 Interface > ILegendItem2.GroupIndex Property
ArcGIS Developer Help

ILegendItem2.GroupIndex Property

Zero-based index of the legend group shown by this item. Use -1 to show all legend groups using this item.

[Visual Basic .NET]
Public Property GroupIndex As Integer
[C#]
public int GroupIndex {get; set;}
[C++]
HRESULT get_GroupIndex(
  System.Int32* Index
);
[C++]
HRESULT put_GroupIndex(
  long Index
);
[C++]
Parameters
Index [out, retval]

Index is a parameter of type long* Index [in]
Index is a parameter of type long

Product Availability

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

See Also

ILegendItem2 Interface