Convert.DBNull Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A constant that represents a database column that is absent of data; that is, database null.
public: static initonly System::Object ^ DBNull;
public static readonly object DBNull;
staticval mutable DBNull : obj
Public Shared ReadOnly DBNull As Object
Field Value
Remarks
The DBNull field is equivalent to DBNull.Value, as the following example shows.
Console.WriteLine(Convert.DBNull.Equals(DBNull.Value));
// Displays True.
printfn $"{Convert.DBNull.Equals DBNull.Value}"
// Displays True.
Console.WriteLine(Convert.DBNull.Equals(DBNull.Value))
' Displays True.
Applies to
See also
Vertu í samstarfi við okkur á GitHub
Heimildina fyrir þetta efni er að finna á GitHub, þar sem þú getur líka búið til og farið yfir vandamál og sameinað beiðnir. Frekari upplýsingar er að finna í framlagshandbók okkar.