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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.