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


ILegendItem2.GroupIndex Property (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (Carto)  

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(
  long* 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