Click or drag to resize

VoidResult Class

Represents the result of a host method that returns no value.
Inheritance Hierarchy
SystemObject
  Microsoft.ClearScriptVoidResult

Namespace: Microsoft.ClearScript
Assembly: ClearScript.Core (in ClearScript.Core.dll) Version: 7.3.7
Syntax
public class VoidResult

The VoidResult type exposes the following members.

Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodToString Returns a string that represents the current object.
(Overrides ObjectToString)
Top
Fields
 NameDescription
Public fieldStatic memberValue The sole instance of the VoidResult class.
Top
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 ClearScript library provides an instance of this class as a dummy return value.
See Also