ArcGIS Pro 3.2 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.

In This Topic
    SetDomainDescription Method
    In This Topic
    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
    )
    Public Sub SetDomainDescription( _
       ByVal domainDescription As DomainDescription, _
       Optional ByVal subtypeCode As Nullable(Of Integer) _
    ) 

    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