Click or drag to resize

Nothing Class

Represents an empty object reference.
Inheritance Hierarchy
SystemObject
  Microsoft.ClearScript.WindowsNothing

Namespace: Microsoft.ClearScript.Windows
Assembly: ClearScript.Windows.Core (in ClearScript.Windows.Core.dll) Version: 7.4.5
Syntax
public class Nothing

The Nothing 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 Nothing class.
Top
Remarks
When passed to a Windows Script engine, an instance of this class is marshaled as an empty variant of type VT_DISPATCH. VBScript interprets this as the special object reference Nothing. In JScript it appears as a value that is equal to, but not strictly equal to, undefined.
See Also