ArcGIS Pro 2.6 API Reference Guide
SetAnnotationClassID Method

ArcGIS.Core.Data.Mapping Namespace > AnnotationFeature Class : SetAnnotationClassID Method
The annotation class ID of this feature.
Sets the annotation class ID of this annotation feature. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public void SetAnnotationClassID( 
   long annotationClassID
)
Public Sub SetAnnotationClassID( _
   ByVal annotationClassID As Long _
) 

Parameters

annotationClassID
The annotation class ID of this 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