ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Data.DDL Namespace / FeatureDatasetDescription Class / FeatureDatasetDescription Constructor / FeatureDatasetDescription Constructor(String,SpatialReference)
The name of the description.
The ArcGIS.Core.Geometry.SpatialReference of the ArcGIS.Core.Data.FeatureDataset.
Example

FeatureDatasetDescription Constructor(String,SpatialReference)
Creates a description object of the ArcGIS.Core.Data.FeatureDataset.
Syntax
public FeatureDatasetDescription( 
   string name,
   SpatialReference spatialReference
)

Parameters

name
The name of the description.
spatialReference
The ArcGIS.Core.Geometry.SpatialReference of the ArcGIS.Core.Data.FeatureDataset.
Exceptions
Example
Creating a FeatureDataset
// Creating a FeatureDataset named as 'Parcel_Information'

SchemaBuilder schemaBuilder = new SchemaBuilder(geodatabase);

// Create a FeatureDataset named as 'Parcel Information'
FeatureDatasetDescription featureDatasetDescription = 
  new FeatureDatasetDescription("Parcel_Information", SpatialReferences.WGS84);
schemaBuilder.Create(featureDatasetDescription);

// Build status
bool buildStatus = schemaBuilder.Build();

// Build errors
if (!buildStatus)
{
  IReadOnlyList<string> errors = schemaBuilder.ErrorMessages;
}
Requirements

Target Platforms: Windows 11, Windows 10, Windows 8.1

ArcGIS Pro version: 2.8 or higher.
See Also