ArcGIS Pro 3.7 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 Function GetAnnotationClassID() As Integer
    public int GetAnnotationClassID()

    Return Value

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

    Target Platforms: Windows 11 Home, Pro, Enterprise (64 bit)

    ArcGIS Pro version: 3.0 or higher.
    See Also