Click or drag to resize

ScriptEngineNullExportValue Property

Gets or sets the script engine's null export value.

Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
Syntax
public Object NullExportValue { get; set; }

Property Value

Object

Implements

IScriptEngineNullExportValue
Remarks

When a null object reference is marshaled to script code, the script engine maps it to the value of this property. The default value is simply null, which corresponds to null or its closest equivalent in the script language. Other useful possibilities include Undefined.Value and Nothing.Value.

Note that WrapNullResult, EnableNullResultWrapping, and MarshalNullAsDispatch all take precedence over this property.

See Also