Share via


DBNull Class

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Represents a nonexistent value. This class cannot be inherited.

Inheritance Hierarchy

System. . :: . .Object
  System..::..DBNull

Namespace:  System
Assembly:  mscorlib (in mscorlib.dll)

Syntax

'Declaration
Public NotInheritable Class DBNull
public sealed class DBNull
public ref class DBNull sealed
[<Sealed>]
type DBNull =  class end
public final class DBNull

The DBNull type exposes the following members.

Methods

  Name Description
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Fields

  Name Description
Public fieldStatic member Value Represents the sole instance of the DBNull class.

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

System Namespace