CodedValueDescription

The description of the CodedValue to be created. 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 Geodatabase.create, you can create a CodedValueDomain. First, you must create a CodedValueDomainDescription with a collection of CodedValueDescription, by using CodedValueDomainDescription.CodedValueDomainDescription. Next, you create the CodedValueDomain by calling Geodatabase.createDomain with the CodedValueDomainDescription.

Since

200.1.0

Constructors

Link copied to clipboard
constructor(name: String, value: Any)

Creates a new coded value description object with the specified name and value.

Properties

Link copied to clipboard

The coded value's name.

Link copied to clipboard
var value: Any

The coded value's value. For fields that utilize a coded value domain, the field type must match the type of the coded values.