IScriptableObjectOnExposedToScriptCode Method |
Notifies the host object that it has been exposed to script code.
Namespace: Microsoft.ClearScriptAssembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
Syntax void OnExposedToScriptCode(
ScriptEngine engine
)
Sub OnExposedToScriptCode (
engine As ScriptEngine
)
void OnExposedToScriptCode(
ScriptEngine^ engine
)
abstract OnExposedToScriptCode :
engine : ScriptEngine -> unit
Parameters
- engine ScriptEngine
- 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