com.esri.arcgis.version
Interface IArcGISVersion

All Superinterfaces:
java.io.Serializable
All Known Implementing Classes:
IArcGISVersionProxy, VersionManager

public interface IArcGISVersion
extends java.io.Serializable

COM Interface 'IArcGISVersion'. Generated 3/19/2015 1:21:02 PM from 'c:\PROGRA~1\COMMON~1\ArcGIS\bin\ArcGISVersion.dll'

Description: 'Interface used to bind an engine application to a specific ArcGIS runtime.' Generator Options: PromptForTypeLibraries = False ClashPrefix = esri_ LowerCaseMemberNames = True IDispatchOnly = False RetryOnReject = False AwtForOcxs = True ArraysAsObjects = False DontRenameSameMethods = False ImplementConflictingInterfaces = True ReuseMethods = True RenameConflictingInterfaceMethods = True GenBeanInfo = True GenerateJavadoc =


Field Summary
static java.lang.String IID
          Deprecated. Internal use only
static int IID4b666ca0_021e_408c_9abe_a1cc182729fa
           
static int xxDummy
          Deprecated. Internal use only
 
Method Summary
 void getActiveVersion(int[] pCode, java.lang.String[] pVer, java.lang.String[] pPath)
          Returns the runtime that the calling application is currently bound to.
 void getVersions(IEnumVersions[] ppVersions)
          Returns an enumerator over the currently installed runtimes.
 boolean loadVersion(int productCode, java.lang.String engineVersion)
          Binds the client engine application against the specified ArcGIS runtime.
 java.lang.String productNameFromCode(int __MIDL__IArcGISVersion0000)
          Returns a product name given a product code.
 

Field Detail

IID4b666ca0_021e_408c_9abe_a1cc182729fa

static final int IID4b666ca0_021e_408c_9abe_a1cc182729fa
See Also:
Constant Field Values

xxDummy

static final int xxDummy
Deprecated. Internal use only
See Also:
Constant Field Values

IID

static final java.lang.String IID
Deprecated. Internal use only
See Also:
Constant Field Values
Method Detail

loadVersion

boolean loadVersion(int productCode,
                    java.lang.String engineVersion)
                    throws java.io.IOException,
                           AutomationException
Binds the client engine application against the specified ArcGIS runtime.

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

getActiveVersion

void getActiveVersion(int[] pCode,
                      java.lang.String[] pVer,
                      java.lang.String[] pPath)
                      throws java.io.IOException,
                             AutomationException
Returns the runtime 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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getVersions

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

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

productNameFromCode

java.lang.String productNameFromCode(int __MIDL__IArcGISVersion0000)
                                     throws java.io.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:
java.io.IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.