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


IGPCodedValueDomain Interface (ArcObjects .NET 10.5 SDK)
ArcObjects Library Reference (GeoDatabase)  

IGPCodedValueDomain Interface

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

Product Availability

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

Members

Description
Method AddCode Adds a (value, name) code.
Method AddStringCode 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.
Method Empty Deletes all the codes.
Method FindName Provides the name for the specified value.
Method FindValue Provides the value object for the specified code.
Read-only property Name The code name for the specified code index.
Method PopulateDomain Populate the domain codes.
Read-only property Value The value object for the specified code index.

CoClasses that implement IGPCodedValueDomain

CoClasses and Classes Description
GPCodedValueDomain (esriGeoprocessing) Geoprocessing Coded Value Domain.

.NET Related Topics

Building a custom geoprocessing function tool