ArcGIS Pro 2.6 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, Windows 7

See Also

Reference

Domain Class
Domain Members