ClearScript Library
ClearScript Library
ClearScript Library Reference
Microsoft.ClearScript
IScriptEngine Interface
IScriptEngine Properties
AccessContext Property
AllowReflection Property
ContinuationCallback Property
CustomAttributeLoader Property
DefaultAccess Property
DisableDynamicBinding Property
DisableExtensionMethods Property
DisableFloatNarrowing Property
DisableListIndexTypeRestriction Property
DisableTypeRestriction Property
DocumentSettings Property
EnableAutoHostVariables Property
EnableNullResultWrapping Property
EnforceAnonymousTypeAccess Property
ExposeHostObjectStaticMembers Property
FileNameExtension Property
FormatCode Property
Global Property
HostData Property
Name Property
NullExportValue Property
NullImportValue Property
Script Property
UndefinedImportValue Property
UseReflectionBindFallback Property
VoidResultValue Property

# IScriptEngineVoidResultValue Property

Gets or sets the script engine's void result export value.
Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.5.0
Syntax
C#
VB
C++
F#
Copy

    Object VoidResultValue { get; set; }

    Property VoidResultValue As Object
    	Get
    	Set

    property Object^ VoidResultValue {
    	Object^ get ();
    	void set (Object^ value);
    }

    abstract VoidResultValue : Object with get, set

#### Property Value

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 VoidResult.Value.
See Also

#### Reference

IScriptEngine Interface
Microsoft.ClearScript Namespace

Copyright © Microsoft Corporation. All rights reserved.

Send comments on this topic to Microsoft