ScriptEngine.EnableAutoHostVariables Property |
Enables or disables automatic host variable tunneling for by-reference arguments to script functions and delegates.
Namespace: Microsoft.ClearScriptAssembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntaxpublic bool EnableAutoHostVariables { get; set; }
Public Property EnableAutoHostVariables As Boolean
Get
Set
public:
virtual property bool EnableAutoHostVariables {
bool get () sealed;
void set (bool value) sealed;
}
abstract EnableAutoHostVariables : bool with get, set
override EnableAutoHostVariables : bool with get, set
Property Value
BooleanImplements
IScriptEngine.EnableAutoHostVariables
Remarks
When this property is set to true, the script engine replaces by-reference
arguments to script functions and delegates with host variables, allowing script code
to simulate output arguments if the script language does not support them natively.
See Also