Show / Hide Table of Contents

Class Domain

Specifies the set of valid values for a Field.

Inheritance
System.Object
Domain
CodedValueDomain
InheritedDomain
RangeDomain<T>
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
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

CodedValueDomain
RangeDomain<T>

Applies to

TargetVersions
.NET Standard 2.0100.3 - 200.7
.NET100.13 - 200.7
.NET Windows100.13 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.0 - 200.7
Xamarin.Android100.0 - 100.15
Xamarin.iOS100.0 - 100.15
UWP100.0 - 200.7

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.
In This Article
Back to top Copyright © 2022 Esri.