dotConnect for Dynamics 365 Documentation
Devart.Common Namespace / DbDataReaderBase Class / IsDBNull Method / IsDBNull(String) Method
The value of the specified column.

In This Topic
    IsDBNull(String) Method
    In This Topic
    Gets a value indicating whether the column contains non-existent or missing values.
    Syntax
    'Declaration
     
    Public Overloads Function IsDBNull( _
       ByVal name As String _
    ) As Boolean
    public bool IsDBNull( 
       string name
    )

    Parameters

    name
    The value of the specified column.

    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