Windows |
The WindowsScriptEngine type exposes the following members.
Name | Description | |
---|---|---|
AddCOMObject(String, Guid) |
Creates a COM/ActiveX object and exposes it to script code. The registered class is
specified by class identifier (CLSID).
(Inherited from ScriptEngine) | |
AddCOMObject(String, String) |
Creates a COM/ActiveX object and exposes it to script code. The registered class is
specified by programmatic identifier (ProgID).
(Inherited from ScriptEngine) | |
AddCOMObject(String, HostItemFlags, Guid) |
Creates a COM/ActiveX object and exposes it to script code with the specified options.
The registered class is specified by class identifier (CLSID).
(Inherited from ScriptEngine) | |
AddCOMObject(String, HostItemFlags, String) |
Creates a COM/ActiveX object and exposes it to script code with the specified options.
The registered class is specified by programmatic identifier (ProgID).
(Inherited from ScriptEngine) | |
AddCOMObject(String, Guid, String) |
Creates a COM/ActiveX object on the specified server and exposes it to script code. The
registered class is specified by class identifier (CLSID).
(Inherited from ScriptEngine) | |
AddCOMObject(String, String, String) |
Creates a COM/ActiveX object on the specified server and exposes it to script code. The
registered class is specified by programmatic identifier (ProgID).
(Inherited from ScriptEngine) | |
AddCOMObject(String, HostItemFlags, Guid, String) |
Creates a COM/ActiveX object on the specified server and exposes it to script code with
the specified options. The registered class is specified by class identifier (CLSID).
(Inherited from ScriptEngine) | |
AddCOMObject(String, HostItemFlags, String, String) |
Creates a COM/ActiveX object on the specified server and exposes it to script code with
the specified options. The registered class is specified by programmatic identifier (ProgID).
(Inherited from ScriptEngine) | |
AddCOMType(String, Guid) |
Imports a COM/ActiveX type and exposes it to script code. The registered class is
specified by class identifier (CLSID).
(Inherited from ScriptEngine) | |
AddCOMType(String, String) |
Imports a COM/ActiveX type and exposes it to script code. The registered class is
specified by programmatic identifier (ProgID).
(Inherited from ScriptEngine) | |
AddCOMType(String, HostItemFlags, Guid) |
Imports a COM/ActiveX type and exposes it to script code with the specified options.
The registered class is specified by class identifier (CLSID).
(Inherited from ScriptEngine) | |
AddCOMType(String, HostItemFlags, String) |
Imports a COM/ActiveX type and exposes it to script code with the specified options.
The registered class is specified by programmatic identifier (ProgID).
(Inherited from ScriptEngine) | |
AddCOMType(String, Guid, String) |
Imports a COM/ActiveX type from the specified server and exposes it to script code. The
registered class is specified by class identifier (CLSID).
(Inherited from ScriptEngine) | |
AddCOMType(String, String, String) |
Imports a COM/ActiveX type from the specified server and exposes it to script code. The
registered class is specified by programmatic identifier (ProgID).
(Inherited from ScriptEngine) | |
AddCOMType(String, HostItemFlags, Guid, String) |
Imports a COM/ActiveX type from the specified server and exposes it to script code with
the specified options. The registered class is specified by class identifier (CLSID).
(Inherited from ScriptEngine) | |
AddCOMType(String, HostItemFlags, String, String) |
Imports a COM/ActiveX type from the specified server and exposes it to script code with
the specified options. The registered class is specified by programmatic identifier (ProgID).
(Inherited from ScriptEngine) | |
AddHostObject(String, Object) |
Exposes a host object to script code.
(Inherited from ScriptEngine) | |
AddHostObject(String, HostItemFlags, Object) |
Exposes a host object to script code with the specified options.
(Inherited from ScriptEngine) | |
AddHostType(Type) |
Exposes a host type to script code with a default name.
(Inherited from ScriptEngine) | |
AddHostType(HostItemFlags, Type) |
Exposes a host type to script code with a default name and the specified options.
(Inherited from ScriptEngine) | |
AddHostType(String, Type) |
Exposes a host type to script code.
(Inherited from ScriptEngine) | |
AddHostType(String, HostItemFlags, Type) |
Exposes a host type to script code with the specified options.
(Inherited from ScriptEngine) | |
AddHostType(String, String, Type) |
Exposes a host type to script code. The type is specified by name.
(Inherited from ScriptEngine) | |
AddHostType(String, HostItemFlags, String, Type) |
Exposes a host type to script code with the specified options. The type is specified by name.
(Inherited from ScriptEngine) | |
AddHostType(String, String, String, Type) |
Exposes a host type to script code. The type is specified by type name and assembly name.
(Inherited from ScriptEngine) | |
AddHostType(String, HostItemFlags, String, String, Type) |
Exposes a host type to script code with the specified options. The type is specified by
type name and assembly name.
(Inherited from ScriptEngine) | |
AddHostTypes |
Exposes host types to script code.
(Inherited from ScriptEngine) | |
AddRestrictedHostObjectT(String, T) |
Exposes a host object to script code with the specified type restriction.
(Inherited from ScriptEngine) | |
AddRestrictedHostObjectT(String, HostItemFlags, T) |
Exposes a host object to script code with the specified type restriction and options.
(Inherited from ScriptEngine) | |
CheckAccess | Determines whether the calling thread has access to the current script engine. | |
CollectGarbage |
Performs garbage collection.
(Overrides ScriptEngineCollectGarbage(Boolean)) | |
Dispose | Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. (Inherited from ScriptEngine) | |
Dispose(Boolean) |
Releases the unmanaged resources used by the script engine and optionally releases the managed resources.
(Overrides ScriptEngineDispose(Boolean)) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Evaluate(String) |
Evaluates script code.
(Inherited from ScriptEngine) | |
Evaluate(DocumentInfo, String) |
Evaluates script code with the specified document meta-information.
(Inherited from ScriptEngine) | |
Evaluate(String, String) |
Evaluates script code with an associated document name.
(Inherited from ScriptEngine) | |
Evaluate(String, Boolean, String) |
Evaluates script code with an associated document name, optionally discarding the document after execution.
(Inherited from ScriptEngine) | |
EvaluateDocument(String) |
Loads and evaluates a script document.
(Inherited from ScriptEngine) | |
EvaluateDocument(String, DocumentCategory) |
Loads and evaluates a document with the specified category.
(Inherited from ScriptEngine) | |
EvaluateDocument(String, DocumentCategory, DocumentContextCallback) |
Loads and evaluates a document with the specified category and context callback.
(Inherited from ScriptEngine) | |
Execute(String) |
Executes script code.
(Inherited from ScriptEngine) | |
Execute(DocumentInfo, String) |
Executes script code with the specified document meta-information.
(Inherited from ScriptEngine) | |
Execute(String, String) |
Executes script code with an associated document name.
(Inherited from ScriptEngine) | |
Execute(String, Boolean, String) |
Executes script code with an associated document name, optionally discarding the document after execution.
(Inherited from ScriptEngine) | |
ExecuteCommand |
Executes script code as a command.
(Inherited from ScriptEngine) | |
ExecuteDocument(String) |
Loads and executes a script document.
(Inherited from ScriptEngine) | |
ExecuteDocument(String, DocumentCategory) |
Loads and executes a document with the specified category.
(Inherited from ScriptEngine) | |
ExecuteDocument(String, DocumentCategory, DocumentContextCallback) |
Loads and executes a document with the specified category and context callback.
(Inherited from ScriptEngine) | |
Finalize |
Releases unmanaged resources and performs other cleanup operations before the script engine is reclaimed by garbage collection.
(Inherited from ScriptEngine) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetStackTrace |
Gets a string representation of the script call stack.
(Overrides ScriptEngineGetStackTrace) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
Interrupt |
Interrupts script execution and causes the script engine to throw an exception.
(Overrides ScriptEngineInterrupt) | |
Invoke |
Invokes a global function or procedure.
(Inherited from ScriptEngine) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
ToString | Returns a string that represents the current object. (Inherited from Object) | |
VerifyAccess | Enforces that the calling thread has access to the current script engine. |