OracleDataReader.GetChar(Int32) 方法

定義

取得指定資料行的值做為字元。

public:
 virtual char GetChar(int i);
public:
 override char GetChar(int i);
public char GetChar (int i);
public override char GetChar (int i);
abstract member GetChar : int -> char
override this.GetChar : int -> char
override this.GetChar : int -> char
Public Function GetChar (i As Integer) As Char
Public Overrides Function GetChar (i As Integer) As Char

參數

i
Int32

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

傳回

做為字元的指定資料行值。

實作

例外狀況

指定的轉型無效。

備註

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

適用於