An object that describes an AGSCodedValueDomain to be created.
Creation of domains is currently only supported on mobile geodatabases, either created in ArcGIS Pro or via createWithFileURL:completion: (AGSGeodatabase).
- Since
- 100.14
◆ codedValueDomainDescriptionWithName:fieldType:values:
Creates a new coded value domain description object with the specified name and coded values.
- Parameters
-
| name | The coded value domain's name. |
| fieldType | The coded value domain's field type. |
| values | The coded value domain's coded values. |
- Since
- 100.14
◆ initWithName:fieldType:values:
Creates a new coded value domain description object with the specified name and coded values.
- Parameters
-
| name | The coded value domain's name. |
| fieldType | The coded value domain's field type. |
| values | The coded value domain's coded values. |
- Since
- 100.14
◆ fieldType
|
|
readwritenonatomicassigninherited |
The field type of the domain to be created.
Specifies the field type of the domain. Valid field types are AGSFieldTypeInt16, AGSFieldTypeInt32, AGSFieldTypeFloat, and AGSFieldTypeDate. Additionally, for AGSCodedValueDomainDescription, AGSFieldTypeText is valid.
- Since
- 100.14
◆ name
|
|
readwritenonatomiccopyinherited |
The name of the domain to be created.
Specifies the name of the domain. Domain names within a single geodatabase must be unique.
- Since
- 100.14
◆ values
The coded value domain's coded values.
For fields that utilize a coded value domain, the field type must match the type of the coded values.
- Since
- 100.14