Поделиться через


Метод IsDBNull

Determines whether the value corresponding to the ordinal position is Null. Не ссылайтесь на этот элемент непосредственно из кода. Он поддерживает работу инфраструктуры SQL Server.

Пространство имен:  Microsoft.SqlServer.Management.Sdk.Sfc
Сборка:  Microsoft.SqlServer.Management.Sdk.Sfc (в Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Синтаксис

'Декларация
Public Function IsDBNull ( _
    i As Integer _
) As Boolean
'Применение
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

Параметры

Возвращаемое значение

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

Реализует

IDataRecord. . :: . .IsDBNull(Int32)