ArcGIS Pro 2.6 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 10, Windows 8.1, Windows 7

See Also

Reference

AnnotationFeature Class
AnnotationFeature Members