Class Domain
Specifies the set of valid values for a Field.
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Esri.ArcGISRuntime.Data
Assembly: Esri.ArcGISRuntime.dll
Syntax
public abstract class Domain
Remarks
This is the base class for domains such as the CodedValueDomain and RangeDomain<T>. Domains are important for maintaining data integrity, especially when users collect data in your app. Domains are typically created and assigned to your datasets using ArcGIS Pro, ArcGIS Online, or ArcGIS Enterprise.
If you are using a mobile geodatabase that was created in ArcGIS Pro or using CreateAsync(String), you can create a new domain using CreateDomainAsync(DomainDescription).
Properties
Name | Description |
---|---|
FieldType | Gets the field type of the domain. |
Name | Gets the name of the domain. |
Methods
Name | Description |
---|---|
FromJson(String) | Converts a JSON string to a Domain. |
ToJson() | Convert this instance to a JSON string. |
See Also
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 |
Relevant samples
Configure subnetwork trace: Get a server-defined trace configuration for a given tier and modify its traversability scope, add new condition barriers and control what is included in the subnetwork trace result.