com.esri.arcgis.system
Interface ILicenseInfoEnum

All Superinterfaces:
Serializable
All Known Implementing Classes:
LicenseInfoEnum

public interface ILicenseInfoEnum
extends Serializable

Provides access to retrieve the extension code.

Description

Provides methods to enumerate a collection of license extension code constants.

Product Availability

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


Method Summary
 int next()
          Obtains the next extension code.
 void reset()
          Resets the extension code.
 

Method Detail

reset

void reset()
           throws IOException,
                  AutomationException
Resets the extension code.

Description

Resets the ILicenseInfoEnum collection to the beginning. To make subsequent passes through the ILicenseInfoEnum collection use the Reset method to go back to the first license extension code constant in the collection.

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.

next

int next()
         throws IOException,
                AutomationException
Obtains the next extension code.

Description

The Next method advances the ILicenseInfoEnum collection by one, and returns the license extension code constant at that position.

Product Availability

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

Returns:
A com.esri.arcgis.system.esriLicenseExtensionCode constant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.