ArcGIS Pro 2.9 API Reference Guide
GetAnnotationClassID Method

ArcGIS.Core.Data.Mapping Namespace > AnnotationFeature Class : GetAnnotationClassID Method
Gets the annotation class ID of the feature. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public int GetAnnotationClassID()
Public Function GetAnnotationClassID() As Integer

Return Value

The annotation class ID of the feature.
Exceptions
ExceptionDescription
A geodatabase-related exception has occurred.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

AnnotationFeature Class
AnnotationFeature Members