ArcGIS Pro 3.1 API Reference Guide
ArcGIS.Core.Data Namespace / Domain Class / GetFieldType Method

In This Topic
    GetFieldType Method
    In This Topic
    Gets the FieldType of the domain. This method must be called on the MCT. Use QueuedTask.Run.
    Syntax
    public FieldType GetFieldType()
    Public Function GetFieldType() As FieldType

    Return Value

    The FieldType of the domain.
    Exceptions
    ExceptionDescription
    A geodatabase-related exception has occurred.
    Remarks
    FieldType can help determine the datatype of values for the Ranges and CodedValue codes as it defines the type of field the domain can be assigned to.
    Requirements

    Target Platforms: Windows 11, Windows 10

    ArcGIS Pro version: 3.0 or higher.
    See Also