ArcObjects Library Reference (GeoDatabase)  

ICodedValueDomain Interface

Provides access to members that return and modify coded value domain values.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server.

Description

The ICodedValueDomain interface is used to define new coded value domains and to get information about existing domains.

When To Use

ICodedValueDomain is the interface on a CodedValueDomain object used to get and set the properties of a coded value domain object. For example, use the ICodedValueDomain interface when creating a new CodedValueDomain to add and remove valid coded values.


Members

Description
Method AddCode Adds a (value, name) code.
Read-only property CodeCount The number of codes for the associated attribute.
Method DeleteCode Deletes a code with the specified value.
Read-only property Name The code name for the specified code index.
Read-only property Value The value for the specified code index.

CoClasses that implement ICodedValueDomain

CoClasses and Classes Description
CodedValueDomain Esri Attribute set constraint object.

.NET Samples

Bind a geodatabase table to a .NET control (Code Files: FieldPropertyDescriptor)

.NET Related Topics

Creating and modifying domains | Geodatabase