ArcGIS Pro 2.8 API Reference Guide
GetField Method (Attribute)

ArcGIS.Desktop.Editing.Attributes Namespace > Attribute Class : GetField Method
Gets the field of this attribute. Returns a field only if the data source is an Enterprise Geodatabase or File Geodatabase. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public Field GetField()
Public Function GetField() As Field

Return Value

Type: Field
Exceptions
ExceptionDescription
This method or property must be called within the lambda passed to QueuedTask.Run.
Requirements

Target Platforms: Windows 10, Windows 8.1

See Also

Reference

Attribute Class
Attribute Members