Click or drag to resize

ScriptEngineVoidResultValue Property

Gets or sets the engine's void result export value.

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

Property Value

Type: Object
Remarks
Some script languages expect every subroutine call to return a value. When script code written in such a language invokes a host method that explicitly returns no value (such as a C# void method), the script engine returns the value of this property as a dummy result. The default value is Value.
See Also