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.2.3
Syntax
public class VoidResult

The VoidResult type exposes the following members.

Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
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