IScriptableObjectOnExposedToScriptCode Method |
Notifies the host object that it has been exposed to script code.
Namespace:
Microsoft.ClearScript
Assembly:
ClearScript.Core (in ClearScript.Core.dll) Version: 7.2.3
Syntaxvoid OnExposedToScriptCode(
ScriptEngine engine
)
Sub OnExposedToScriptCode (
engine As ScriptEngine
)
void OnExposedToScriptCode(
ScriptEngine^ engine
)
abstract OnExposedToScriptCode :
engine : ScriptEngine -> unit
Parameters
- engine
- Type: Microsoft.ClearScriptScriptEngine
The script engine in which the host object was exposed.
Remarks
This method may be called more than once for a given host object. The object may be
exposed in multiple script engines or many times in one script engine. Implementers
should avoid expensive operations within this method, or cache the results of such
operations for efficient retrieval during subsequent invocations.
See Also