ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Core.Data.DDL Namespace / FieldDescription Class / GetDomainDescription Method
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 returned.

In This Topic
    GetDomainDescription Method
    In This Topic
    Gets the associated DomainDescription of the ArcGIS.Core.Data.Field at the table level if subtypeCode is not specified. Otherwise, gets the DomainDescription for the specific subtype code.
    Syntax
    public DomainDescription GetDomainDescription( 
       Nullable<int> subtypeCode
    )
    Public Function GetDomainDescription( _
       Optional ByVal subtypeCode As Nullable(Of Integer) _
    ) As DomainDescription

    Parameters

    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 returned.

    Return Value

    The DomainDescription if one is assigned. Otherwise, null is returned.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.1 or higher.
    See Also