Click or drag to resize

ScriptEngineNullExportValue Property

Gets or sets the engine's null export value.

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

Property Value

Object
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