ScriptEngineVoidResultValue Property |
Gets or sets the script engine's void result export value.
Namespace: Microsoft.ClearScriptAssembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.4.5
Syntax public Object VoidResultValue { get; set; }
Public Property VoidResultValue As Object
Get
Set
public:
virtual property Object^ VoidResultValue {
Object^ get () sealed;
void set (Object^ value) sealed;
}
abstract VoidResultValue : Object with get, set
override VoidResultValue : Object with get, set
Property Value
ObjectImplements
IScriptEngineVoidResultValueRemarks
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
VoidResult.Value.
See Also