Convert.DBNull Field


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

A constant that represents a database column that is absent of data; that is, database null.

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

public static readonly object DBNull

Field Value

Type: System.Object

The DBNull field is equivalent to DBNull.Value, as the following example shows.

// Displays True.

.NET Framework
Available since 1.1
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Return to top