ArcGIS Pro 3.3 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

In This Topic
    FeatureDatasetDescription Constructor(String,SpatialReference)
    In This Topic
    Creates a description object of the ArcGIS.Core.Data.FeatureDataset.
    Syntax
    public FeatureDatasetDescription( 
       string name,
       SpatialReference spatialReference
    )
    Public Function New( _
       ByVal name As String, _
       ByVal spatialReference As 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
    public void CreateFeatureDatasetSnippet(Geodatabase geodatabase)
    {
      // 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

    ArcGIS Pro version: 3 or higher.
    See Also