This document is archived and information here might be outdated.  Recommended version.


ICodedValueDomain Interface (ArcObjects .NET 10.8 SDK)
ArcObjects Help for .NET developers > ArcObjects Help for .NET developers > ArcObjects namespaces > Geodatabase > ESRI.ArcGIS.GeoDatabase > Interfaces > IC > ICodedValueDomain Interface
ArcGIS Developer Help

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

Name 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.

Classes that implement ICodedValueDomain

Classes Description
CodedValueDomain Esri Attribute set constraint object.