Share via


DataProvider.IsDBNull Method

Determines whether the value corresponding to the ordinal position is Null. Do not reference this member directly in your code. It supports the SQL Server infrastructure.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Function IsDBNull ( _
    i As Integer _
) As Boolean
'Usage
Dim instance As DataProvider
Dim i As Integer
Dim returnValue As Boolean

returnValue = instance.IsDBNull(i)
public bool IsDBNull(
    int i
)
public:
virtual bool IsDBNull(
    int i
) sealed
abstract IsDBNull : 
        i:int -> bool 
override IsDBNull : 
        i:int -> bool 
public final function IsDBNull(
    i : int
) : boolean

Parameters

Return Value

Type: System.Boolean
true if the specified column value is equivalent to null; otherwise, false.

Implements

IDataRecord.IsDBNull(Int32)