ArcGIS Pro 3.4 API Reference Guide
ArcGIS.Desktop.Mapping Namespace / LegendClass Class / ClassIndex Property
Version

ClassIndex Property
Gets the class index.
Syntax
public int ClassIndex {get;}
Remarks
Refer to LegendGroup.LegendClasses. ClassIndex is an index into that collection to get the legend class's class.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3 or higher.
See Also