ArcGIS Pro 2.9 API Reference Guide
GetLabelClassCollection Method

ArcGIS.Core.Data.Mapping Namespace > AnnotationFeatureClassDefinition Class : GetLabelClassCollection Method
Gets the collection of label classes for the annotation
Syntax
public IReadOnlyList<CIMLabelClass> GetLabelClassCollection()
Public Function GetLabelClassCollection() As IReadOnlyList(Of CIMLabelClass)

Return Value

An array of ArcGIS.Core.CIM.CIMLabelClass used to create the annotation.
Exceptions
ExceptionDescription
A geodatabase-related exception has occurred.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

AnnotationFeatureClassDefinition Class
AnnotationFeatureClassDefinition Members