com.esri.arcgis.version
Interface IArcGISVersion

All Superinterfaces:
Serializable
All Known Implementing Classes:
IArcGISVersionProxy, VersionManager

public interface IArcGISVersion
extends Serializable

IArcGISVersion Interface


Method Summary
 void getActiveVersion(int[] pCode, String[] pVer, String[] pPath)
          Returns the product and version that the calling application is currently bound to.
 void getVersions(IEnumVersions[] ppVersions)
          Returns an enumerator over the currently installed versions.
 boolean loadVersion(int productCode, String engineVersion)
          Binds the client engine application against a particular version of ArcGIS.
 String productNameFromCode(int __MIDL__IArcGISVersion0000)
          Returns a product name given a product code.
 

Method Detail

loadVersion

boolean loadVersion(int productCode,
                    String engineVersion)
                    throws IOException,
                           AutomationException
Binds the client engine application against a particular version of ArcGIS.

Parameters:
productCode - A com.esri.arcgis.version.esriProductCode constant (in)
engineVersion - The engineVersion (in)
Returns:
The succeeded
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getActiveVersion

void getActiveVersion(int[] pCode,
                      String[] pVer,
                      String[] pPath)
                      throws IOException,
                             AutomationException
Returns the product and version that the calling application is currently bound to.

Parameters:
pCode - A com.esri.arcgis.version.esriProductCode constant (out: use single element array)
pVer - The pVer (out: use single element array)
pPath - The pPath (out: use single element array)
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVersions

void getVersions(IEnumVersions[] ppVersions)
                 throws IOException,
                        AutomationException
Returns an enumerator over the currently installed versions.

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

productNameFromCode

String productNameFromCode(int __MIDL__IArcGISVersion0000)
                           throws IOException,
                                  AutomationException
Returns a product name given a product code.

Parameters:
__MIDL__IArcGISVersion0000 - A com.esri.arcgis.version.esriProductCode constant (in)
Returns:
The pProductName
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.