DataProvider.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)

请参阅

参考

DataProvider 类

Microsoft.SqlServer.Management.Sdk.Sfc 命名空间