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

Description Property (DomainDescription)
The description of the ArcGIS.Core.Data.Domain.
Syntax
public string Description {get; set;}
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

ArcGIS Pro version: 2.8 or higher.
See Also