com.esri.arcgis.geometry
Interface IRelationResultArray

All Superinterfaces:
Serializable
All Known Implementing Classes:
IRelationResultArrayProxy, RelationResultArray

public interface IRelationResultArray
extends Serializable

Description

This interface is new at ArcGIS 9.3.

Product Availability

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


Method Summary
 void add(esriRelationPair r)
          Adds a relation result.
 int getCount()
          The geometry count.
 esriRelationPair getElement(int index)
          Returns the relation pair at the specified position.
 void insert(int index, esriRelationPair r)
          Adds a relation pair at the specified position.
 void remove(int index)
          Removes the relation result at the specified position.
 void removeAll()
          Removes all relation pairs.
 

Method Detail

getCount

int getCount()
             throws IOException,
                    AutomationException
The geometry 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

esriRelationPair getElement(int index)
                            throws IOException,
                                   AutomationException
Returns the relation pair at the specified position.

Product Availability

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

Parameters:
index - The index (in)
Returns:
A Structure: com.esri.arcgis.geometry.esriRelationPair
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 relation result 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 relation pairs.

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(esriRelationPair r)
         throws IOException,
                AutomationException
Adds a relation result.

Product Availability

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

Parameters:
r - A Structure: com.esri.arcgis.geometry.esriRelationPair (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

insert

void insert(int index,
            esriRelationPair r)
            throws IOException,
                   AutomationException
Adds a relation pair at the specified position.

Product Availability

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

Parameters:
index - The index (in)
r - A Structure: com.esri.arcgis.geometry.esriRelationPair (in)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.