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)

static val DBNull : Object

Field Value

Type: System.Object

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

No code example is currently available or this language may not be supported.

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