語言

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 空值。

適用於