com.esri.arcgis.geodatabase
Interface IFIDSet

All Superinterfaces:
Serializable
All Known Subinterfaces:
IFIDSet2
All Known Implementing Classes:
FIDSet, RecordNumberSet

public interface IFIDSet
extends Serializable

Provides access to members that control the FID Set.

Superseded By

IFIDSet2

Product Availability

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


Method Summary
 void add(int fID)
          Adds a feature id to the set.
 int count()
          The number of elements in the FID set.
 void delete(int fID)
          Deletes a feature id from the set.
 void find(int fID, boolean[] doesExist)
          Finds a feature id in the set.
 void next(int[] fID)
          Gets the next feature id from the set.
 void reset()
          Resets the internal cursor.
 void setEmpty()
          Empties the FID set.
 

Method Detail

add

void add(int fID)
         throws IOException,
                AutomationException
Adds a feature id to the set.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

delete

void delete(int fID)
            throws IOException,
                   AutomationException
Deletes a feature id from the set.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

find

void find(int fID,
          boolean[] doesExist)
          throws IOException,
                 AutomationException
Finds a feature id in the set.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
fID - The fID (in)
doesExist - The doesExist (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

next

void next(int[] fID)
          throws IOException,
                 AutomationException
Gets the next feature id from the set.

Remarks

Calling Next when there are no more IDs in the FIDset will return -1.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
fID - The fID (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

reset

void reset()
           throws IOException,
                  AutomationException
Resets the internal cursor.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

count

int count()
          throws IOException,
                 AutomationException
The number of elements in the FID set.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

setEmpty

void setEmpty()
              throws IOException,
                     AutomationException
Empties the FID set.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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