ArcGIS Pro 2.7 API Reference Guide
LabelClasses Property (FeatureLayer)

ArcGIS.Desktop.Mapping Namespace > FeatureLayer Class : LabelClasses Property
Gets the available label classes for the feature layer.
Syntax
Remarks
The collection is read-only with regards to adding or removing label classes; use AddLabelClass, RemoveLabelClass(String), or RemoveLabelClass(LabelClass[]) for that purpose. Note: Properties for label classes can be updated.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

FeatureLayer Class
FeatureLayer Members