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

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

Parameters

featureDatasetDescription
Indicates the ArcGIS.Core.Data.FeatureDataset where the ArcGIS.Core.Data.Mapping.AnnotationFeatureClass will be added.
annotationFeatureClassDescription
Indicates the ArcGIS.Core.Data.Mapping.AnnotationFeatureClass to add.
Exceptions
ExceptionDescription
The ArcGIS.Core.Geometry.SpatialReference of the featureDatasetDescription and the annotationFeatureClassDescription do not match.
featureDatasetDescription and/or annotationFeatureClassDescription is null.
Memory ArcGIS.Core.Data.Geodatabase does not support feature datasets.
Remarks
Adds a ArcGIS.Core.Data.Mapping.AnnotationFeatureClass to the ArcGIS.Core.Data.FeatureDataset
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

See Also

Reference

SchemaBuilder Class
SchemaBuilder Members
Overload List