Provides access to members that return information about the field.
The field object represents a column in a table. A field has many properties, the most obvious ones being its name and its datatype. The esriFieldType enumeration lists the possible datatypes.
| Description | ||
|---|---|---|
![]() |
AliasName | The alias name of the field. |
![]() |
CheckValue | Indicates if the value is valid given the field definition. |
![]() |
DefaultValue | The default value of the field. |
![]() |
Domain | The default domain of the field. |
![]() |
DomainFixed | Indicates if the field's domain is fixed. |
![]() |
Editable | Indicates if the field is editable. |
![]() |
GeometryDef | The geometry definition for the field if IsGeometry is TRUE. |
![]() |
IsNullable | Indicates if the field can contain null values. |
![]() |
Length | The maximum length, in bytes, for values described by the field. |
![]() |
Name | The name of the field. |
![]() |
Precision | The precision for field values. |
![]() |
Required | Indicates if the field is required. |
![]() |
Scale | The scale for field values. |
![]() |
Type | The type of the field. |
![]() |
VarType | The VARTYPE of the field (e.g. VT_I4). |
| CoClasses and Classes | Description |
|---|---|
| Field | ESRI Field Object. |
When you create a field of type esriFieldTypeSingle, esriFieldTypeDouble or esriFieldTypeInteger, and specify zero for precision and scale, the geodatabase will attempt to create a binary type field if the underlying database supports it. Personal geodatabases support only binary type fields. ArcGIS ignores precision and scale of binary type fields.
Depending on the precision and scale setting you select, ArcGIS may convert the field into another type. For example:
The length property of a field has meaning only for esriFieldTypeString fields. The length property for all other field types is not important and will be ignored if specified.