com.esri.arcgis.carto
Interface IUniqueValueInfos

All Superinterfaces:
Serializable
All Known Implementing Classes:
UniqueValueInfos

public interface IUniqueValueInfos
extends Serializable

Provides access to the UniqueValueInfos Interface.

Product Availability

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


Method Summary
 void add(IUniqueValueInfo pUniqueValueInfo)
          Adds a unique value.
 int getCount()
          The unique value count.
 IUniqueValueInfo getElement(int index)
          The unique value at the specified position.
 void insert(int index, IUniqueValueInfo pUniqueValueInfo)
          Adds a unique value at the specified position.
 void remove(int index)
          Removes the unique value info at the specified position.
 void removeAll()
          Removes all unique values.
 

Method Detail

getCount

int getCount()
             throws IOException,
                    AutomationException
The unique value count.

Product Availability

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

Returns:
The count
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getElement

IUniqueValueInfo getElement(int index)
                            throws IOException,
                                   AutomationException
The unique value at the specified position.

Product Availability

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

Parameters:
index - The index (in)
Returns:
A reference to a com.esri.arcgis.carto.IUniqueValueInfo
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

remove

void remove(int index)
            throws IOException,
                   AutomationException
Removes the unique value info at the specified position.

Product Availability

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

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

removeAll

void removeAll()
               throws IOException,
                      AutomationException
Removes all unique values.

Product Availability

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

Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

add

void add(IUniqueValueInfo pUniqueValueInfo)
         throws IOException,
                AutomationException
Adds a unique value.

Product Availability

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

Parameters:
pUniqueValueInfo - A reference to a com.esri.arcgis.carto.IUniqueValueInfo (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insert

void insert(int index,
            IUniqueValueInfo pUniqueValueInfo)
            throws IOException,
                   AutomationException
Adds a unique value at the specified position.

Product Availability

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

Parameters:
index - The index (in)
pUniqueValueInfo - A reference to a com.esri.arcgis.carto.IUniqueValueInfo (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.