ArcGIS Pro 2.8 API Reference Guide
GetFieldType Method

ArcGIS.Core.Data Namespace > Domain Class : GetFieldType Method
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 10, Windows 8.1

See Also

Reference

Domain Class
Domain Members