An object that describes an AGSField to be created.
Creation of fields and tables is currently only supported on mobile geodatabases, either created in ArcGIS Pro or via createWithFileURL:completion: (AGSGeodatabase).
- Since
- 100.14
◆ fieldDescriptionWithName:fieldType:
| + (instancetype) fieldDescriptionWithName: |
|
(NSString *) |
name |
| fieldType: |
|
(AGSFieldType) |
fieldType |
|
|
| |
Creates a new field description object with the specified name and type.
- Parameters
-
| name | The field's name. |
| fieldType | The field's data type. |
- Since
- 100.14
◆ initWithName:fieldType:
| - (instancetype) initWithName: |
|
(NSString *) |
name |
| fieldType: |
|
(AGSFieldType) |
fieldType |
|
|
| |
Creates a new field description object with the specified name and type.
- Parameters
-
| name | The field's name. |
| fieldType | The field's data type. |
- Since
- 100.14
◆ alias
The field's alias.
- Since
- 100.14
◆ allowNull
YES if the field is nullable.
The default value is YES.
- Since
- 100.14
◆ domainName
◆ editable
YES if the field is editable.
The default value is YES.
- Since
- 100.14
◆ fieldType
The field's data type.
- Since
- 100.14
◆ length
The length of the field. This only applies to text fields.
- Since
- 100.14
◆ name
The field's name.
Field names must be non-empty, consist only of alphanumeric characters and underscores, and cannot start with a number or an underscore.
- Since
- 100.14