OracleDataReader.GetBoolean(Int32) 方法

定義

取得指定之資料行的值做為布林值 (Boolean)。

public:
 virtual bool GetBoolean(int i);
public:
 override bool GetBoolean(int i);
public bool GetBoolean (int i);
public override bool GetBoolean (int i);
abstract member GetBoolean : int -> bool
override this.GetBoolean : int -> bool
override this.GetBoolean : int -> bool
Public Function GetBoolean (i As Integer) As Boolean
Public Overrides Function GetBoolean (i As Integer) As Boolean

參數

i
Int32

以零為基底的資料行序數。

傳回

布林值,為資料行的值。

實作

例外狀況

指定的轉型無效。

備註

呼叫 IsDBNull 以在呼叫此方法之前檢查 Null 值。

適用於