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
Spolupráca s nami v službe GitHub
Zdroj tohto obsahu nájdete v službe GitHub, kde môžete vytvárať a skúmať problémy a žiadosti o prijatie zmien. Ďalšie informácie nájdete v našom sprievodcovi prispievateľom.