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

In This Topic
    ClassIndex Property
    In This Topic
    Gets the class index.
    Syntax
    public int ClassIndex {get;}
    Public ReadOnly Property ClassIndex As Integer
    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.0 or higher.
    See Also