ArcGIS Pro 3.7 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 ReadOnly Property ClassIndex As Integer
    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 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also