Class RangeDomain<T>
Specifies a valid range of numeric or date 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 sealed class RangeDomain<T> : Domain where T : IComparable
Type Parameters
| Name | Description |
|---|---|
| T | Data type that is IComparable. |
Remarks
A range domain can specify the minimum and maximum value of a number or date for a field. Data entries outside the range will not be accepted in the field. When a user is editing data, you can present the MinValue and MaxValue to guide the user, and validate their input against the range domain before changes are saved. This helps to maintain data integrity.
Properties
| Name | Description |
|---|---|
| MaxValue | Gets the maximum value of range. |
| MinValue | Gets the minimum value of range. |
Applies to
| Target | Versions |
|---|---|
| .NET Standard 2.0 | 100.3 - 200.8 |
| .NET | 100.13 - 200.8 |
| .NET Windows | 100.13 - 200.8 |
| .NET Android | 200.0 - 200.8 |
| .NET iOS | 200.0 - 200.8 |
| .NET Framework | 100.0 - 200.8 |
| Xamarin.Android | 100.0 - 100.15 |
| Xamarin.iOS | 100.0 - 100.15 |
| UWP | 100.0 - 200.8 |