com.esri.arcgis.geodatabase
Interface IEnumWorkspace

All Superinterfaces:
Serializable
All Known Implementing Classes:
IEnumWorkspaceProxy

public interface IEnumWorkspace
extends Serializable

Provides access to members that enumerate workspaces.

Product Availability

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


Method Summary
 void esri_clone(IEnumWorkspace[] ppenum)
          Creates a clone of the current enumeration.
 void next(int numRequested, IWorkspace[] workspaces, int[] pNumFetched)
          Retrieves the next Workspace in the enumeration sequence.
 void reset()
          Resets the enumeration sequence to the beginning.
 void skip(int numToSkip)
          Skips the next Workspace in the enumeration.
 

Method Detail

next

void next(int numRequested,
          IWorkspace[] workspaces,
          int[] pNumFetched)
          throws IOException,
                 AutomationException
Retrieves the next Workspace in the enumeration sequence.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

Parameters:
numRequested - The numRequested (in)
workspaces - A reference to a com.esri.arcgis.geodatabase.IWorkspace (out: use single element array)
pNumFetched - The pNumFetched (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

skip

void skip(int numToSkip)
          throws IOException,
                 AutomationException
Skips the next Workspace in the enumeration.

Product Availability

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

Supported Platforms

Windows, Solaris, Linux

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

reset

void reset()
           throws IOException,
                  AutomationException
Resets the enumeration sequence to the beginning.

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.

esri_clone

void esri_clone(IEnumWorkspace[] ppenum)
                throws IOException,
                       AutomationException
Creates a clone of the current enumeration.

Product Availability

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

Parameters:
ppenum - A reference to a com.esri.arcgis.geodatabase.IEnumWorkspace (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.