dotConnect for Dynamics 365 Documentation
Devart.Common Namespace / DbDataReaderBase Class / IsDBNull Method / IsDBNull(Int32) Method
The zero-based column ordinal.

IsDBNull(Int32) Method
Gets a value indicating whether the column contains non-existent or missing values.
Syntax
'Declaration
 
Public Overloads Overrides Function IsDBNull( _
   ByVal ordinal As Integer _
) As Boolean
 

Parameters

ordinal
The zero-based column ordinal.

Return Value

true if the specified column value is equivalent to System.DBNull; otherwise, false.
Remarks
To avoid raising an error, call this method to check for null column values before calling the typed Get methods (for example, GetBytes, GetChars, and so on).
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also