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

In This Topic
    IsDBNull(Int32) Method
    In This Topic
    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
    public override bool IsDBNull( 
       int ordinal
    )

    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