Class CodedValueDomain
Specifies an explicit set of valid values for a Field.
Namespace: Esri.ArcGISRuntime.Data
Assembly: Esri.ArcGISRuntime.dll
Syntax
public sealed class CodedValueDomain : Domain
Remarks
A coded value domain consists of a collection of coded values that are saved in the dataset. When a user is editing data, you can present the list of coded values for the fields (attributes) they edit, or validate their input values against the coded value domain before changes are saved. This ensures that the user maintains data integrity by only applying values that are in the CodedValues.
You can create a coded value domain in a mobile geodatabase, if the mobile geodatabase was created in ArcGIS Pro or using CreateAsync(String). To create a CodedValueDomain, you can create a CodedValueDomainDescription that has a collection of CodedValueDescription, by using CodedValueDomainDescription(String, FieldType, IEnumerable<CodedValueDescription>). Next, you create the CodedValueDomain by calling CreateDomainAsync(DomainDescription) with the CodedValueDomainDescription.
Properties
Name | Description |
---|---|
CodedValues | Gets the set of valid values. |
Applies to
Target | Versions |
---|---|
.NET Standard 2.0 | 100.3 - 200.6 |
.NET | 100.13 - 200.6 |
.NET Windows | 100.13 - 200.6 |
.NET Android | 200.0 - 200.6 |
.NET iOS | 200.0 - 200.6 |
.NET Framework | 100.0 - 200.6 |
Xamarin.Android | 100.0 - 100.15 |
Xamarin.iOS | 100.0 - 100.15 |
UWP | 100.0 - 200.6 |