com.esri.arcgis.system
Interface IESRIScriptEngine

All Superinterfaces:
Serializable
All Known Implementing Classes:
ESRIScriptEngine

public interface IESRIScriptEngine
extends Serializable

Provides access to members that control the ESRIScriptEngine.

Product Availability

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


Method Summary
 void addCode(String scriptCode)
          The AddCode method.
 void getError(int[] pLineNumber, int[] pCharacterPosition, String[] pErrorSourceCode, String[] pErrorDescription)
          The Error method.
 String getLanguage()
          The Script Language.
 boolean isAllowUI()
          The AllowUI method.
 Object run(String procedureName, Object[] pParameters)
          The Run method.
 void setAllowUI(boolean pAllowUI)
          The AllowUI method.
 void setLanguage(String pLanguage)
          The Script Language.
 

Method Detail

getLanguage

String getLanguage()
                   throws IOException,
                          AutomationException
The Script Language.

Product Availability

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

Returns:
The pLanguage
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setLanguage

void setLanguage(String pLanguage)
                 throws IOException,
                        AutomationException
The Script Language.

Product Availability

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

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

isAllowUI

boolean isAllowUI()
                  throws IOException,
                         AutomationException
The AllowUI method.

Product Availability

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

Returns:
The pAllowUI
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

setAllowUI

void setAllowUI(boolean pAllowUI)
                throws IOException,
                       AutomationException
The AllowUI method.

Product Availability

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

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

addCode

void addCode(String scriptCode)
             throws IOException,
                    AutomationException
The AddCode method.

Product Availability

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

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

run

Object run(String procedureName,
           Object[] pParameters)
           throws IOException,
                  AutomationException
The Run method.

Product Availability

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

Parameters:
procedureName - The procedureName (in)
pParameters - An UNSUPPORTED non-automation type: 26 (in)
Returns:
A Variant
Throws:
IOException - If there are interop problems.
AutomationException - If the ArcObject component throws an exception.

getError

void getError(int[] pLineNumber,
              int[] pCharacterPosition,
              String[] pErrorSourceCode,
              String[] pErrorDescription)
              throws IOException,
                     AutomationException
The Error method.

Product Availability

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

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