ArcGIS Pro 2.6 API Reference Guide
GetFields Method (TableDefinition)

ArcGIS.Core.Data Namespace > TableDefinition Class : GetFields Method
Gets the fields in the Table. This method must be called on the MCT. Use QueuedTask.Run.
Syntax
public IReadOnlyList<Field> GetFields()
Public Function GetFields() As IReadOnlyList(Of Field)

Return Value

The collection of fields in the Table.
Exceptions
ExceptionDescription
A geodatabase-related exception has occurred.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 7

See Also

Reference

TableDefinition Class
TableDefinition Members