com.esri.arcgis.geodatabase
Interface IGPVersionInfos

All Superinterfaces:
Serializable
All Known Implementing Classes:
GPVersionInfos

public interface IGPVersionInfos
extends Serializable

Provides access to the VersionInfos Interface.

Product Availability

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


Method Summary
 void add(IGPVersionInfo versionInfo)
          Adds a version info.
 int getCount()
          The version info count.
 IGPVersionInfo getElement(int index)
          The version info at the specified position.
 void insert(int index, IGPVersionInfo versionInfo)
          Adds a version info at the specified position.
 void remove(int index)
          Removes the version info at the specified position.
 void removeAll()
          Removes all version infos.
 

Method Detail

getCount

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

IGPVersionInfo getElement(int index)
                          throws IOException,
                                 AutomationException
The version info 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.geodatabase.IGPVersionInfo
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 version 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 version infos.

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(IGPVersionInfo versionInfo)
         throws IOException,
                AutomationException
Adds a version info.

Product Availability

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

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

insert

void insert(int index,
            IGPVersionInfo versionInfo)
            throws IOException,
                   AutomationException
Adds a version info at the specified position.

Product Availability

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

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