com.esri.arcgis.geodatabase
Interface ICodedValueDomain2

All Superinterfaces:
ICodedValueDomain, Serializable
All Known Implementing Classes:
CodedValueDomain

public interface ICodedValueDomain2
extends ICodedValueDomain, Serializable

Provides access to members that sort a coded value domain.

Product Availability

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


Method Summary
 void sortByName(boolean descending)
          Sort the codes in the coded value domain by name.
 void sortByValue(boolean descending)
          Sort the codes in the coded value domain by value.
 
Methods inherited from interface com.esri.arcgis.geodatabase.ICodedValueDomain
addCode, deleteCode, getCodeCount, getName, getValue
 

Method Detail

sortByName

void sortByName(boolean descending)
                throws IOException,
                       AutomationException
Sort the codes in the coded value domain by name.

Product Availability

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

Parameters:
descending - The descending (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

sortByValue

void sortByValue(boolean descending)
                 throws IOException,
                        AutomationException
Sort the codes in the coded value domain by value.

Product Availability

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

Parameters:
descending - The descending (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.