Show / Hide Table of Contents

Class CodedValueDescription

An object that describes a CodedValue to be created.

Inheritance
System.Object
CodedValueDescription
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 CodedValueDescription
Remarks

Each CodedValueDescription consists of a value and a name. For example, for roads data the values 1, 2, and 3 might correspond to three types of road surface such as gravel, asphalt, and concrete. Coded value domains are typically created and assigned to your datasets using ArcGIS Pro, ArcGIS Online, or ArcGIS Enterprise.

If your mobile geodatabase was created in ArcGIS Pro or using CreateAsync(String), you can create a CodedValueDomain. First, you must create a CodedValueDomainDescription with a collection of CodedValueDescription, by using CodedValueDomainDescription(String, FieldType, IEnumerable<CodedValueDescription>). Next, you create the CodedValueDomain by calling CreateDomainAsync(DomainDescription) with the CodedValueDomainDescription.

Constructors

Name Description
CodedValueDescription(String, Object)

Initializes a new instance of the CodedValueDescription class with the specified name and value.

Properties

Name Description
Name

Gets or sets the coded value's name.

Value

Gets or sets the coded value's value.

Applies to

TargetVersions
.NET Standard 2.0100.14 - 200.7
.NET100.14 - 200.7
.NET Windows100.14 - 200.7
.NET Android200.0 - 200.7
.NET iOS200.0 - 200.7
.NET Framework100.14 - 200.7
Xamarin.Android100.14 - 100.15
Xamarin.iOS100.14 - 100.15
UWP100.14 - 200.7
In This Article
Back to top Copyright © 2022 Esri.