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
Sodelujte z nami v storitvi GitHub
Vir za to vsebino najdete v storitvi GitHub, kjer lahko tudi ustvarite in pregledate težave in zahtevke za uveljavitev sprememb. Če želite več informacij, glejte naš vodnik za sodelavce.