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
參數
- i
型別:System. . :: . .Int32
The zero-based column ordinal.
傳回值
型別:System. . :: . .Boolean
true if the specified column value is equivalent to null; otherwise, false.