ArcGIS Pro 2.9 API Reference Guide
Create(FeatureDatasetDescription,AnnotationFeatureClassDescription) Method

ArcGIS.Core.Data.DDL Namespace > SchemaBuilder Class > Create Method : Create(FeatureDatasetDescription,AnnotationFeatureClassDescription) Method
Indicates the ArcGIS.Core.Data.FeatureDataset where the ArcGIS.Core.Data.Mapping.AnnotationFeatureClass will be created.
Indicates the ArcGIS.Core.Data.Mapping.AnnotationFeatureClass to be created.
Enqueue the create operation on the object referred to by the AnnotationFeatureClassDescription.
Syntax

Parameters

featureDatasetDescription
Indicates the ArcGIS.Core.Data.FeatureDataset where the ArcGIS.Core.Data.Mapping.AnnotationFeatureClass will be created.
annotationFeatureClassDescription
Indicates the ArcGIS.Core.Data.Mapping.AnnotationFeatureClass to be created.

Return Value

Exceptions
ExceptionDescription

The ArcGIS.Core.Geometry.SpatialReference of the featureDatasetDescription and the annotationFeatureClassDescription do not match.

-or-

The total path length for the ArcGIS.Core.Data.Mapping.AnnotationFeatureClass to be created must be less than 252 characters.

featureDatasetDescription and/or annotationFeatureClassDescription is null.
Memory ArcGIS.Core.Data.Geodatabase does not support feature datasets.
Remarks
If annotationFeatureClassDescription has a linked ArcGIS.Core.Data.FeatureClass, then it must be inside the same ArcGIS.Core.Data.FeatureDataset referred to by featureDatasetDescription.
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

SchemaBuilder Class
SchemaBuilder Members
Overload List