ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Data.Mapping Namespace / AnnotationFeature Class / GetAnnotationClassID Method

In This Topic
    GetAnnotationClassID Method
    In This Topic
    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

    ArcGIS Pro version: 3 or higher.
    See Also