ArcGIS Pro 3.0 API Reference Guide
ArcGIS.Core.Data.DDL Namespace / DomainDescription Class / Description Property
Example

In This Topic
    Description Property (DomainDescription)
    In This Topic
    The description of the ArcGIS.Core.Data.Domain.
    Syntax
    public string Description {get; set;}
    Public Property Description As String
    Example
    Creating a Range domain
    // Create a range description with minimum value = 0 and maximum value = 1000
    RangeDomainDescription rangeDomainDescriptionMinMax = new RangeDomainDescription("RangeDomain_0_1000",
      FieldType.Integer, 0, 1000)
    { Description = "Domain value ranges from 0 to 1000" };
    
    SchemaBuilder schemaBuilder = new SchemaBuilder(geodatabase);
    
    // Create  a range domain 
    schemaBuilder.Create(rangeDomainDescriptionMinMax);
    schemaBuilder.Build();
    
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 8.1

    See Also