ArcGIS Pro 3.3 API Reference Guide
ArcGIS.Core.Data.DDL Namespace / FieldDescription Class / SetDomainDescription Method
The DomainDescription of the ArcGIS.Core.Data.Field.
The specific subtype code for the ArcGIS.Core.Data.Field's ArcGIS.Core.Data.Domain. This argument is optional. If it is not set or is set to null, the field's domain at the table level is set.
Version

SetDomainDescription Method
Sets the associated DomainDescription of the ArcGIS.Core.Data.Field at the table level if subtypeCode is not specified. Otherwise, sets the DomainDescription for the specific subtype code.
Syntax
public void SetDomainDescription( 
   DomainDescription domainDescription,
   Nullable<int> subtypeCode
)

Parameters

domainDescription
The DomainDescription of the ArcGIS.Core.Data.Field.
subtypeCode
The specific subtype code for the ArcGIS.Core.Data.Field's ArcGIS.Core.Data.Domain. This argument is optional. If it is not set or is set to null, the field's domain at the table level is set.
Requirements

Target Platforms: Windows 11, Windows 10

ArcGIS Pro version: 3.1 or higher.
See Also