OleDbDataReader.GetChar(Int32) 方法

定義

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

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

參數

ordinal
Int32

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

傳回

指定的資料行值。

實作

例外狀況

指定的轉型無效。

備註

System.Data.OleDb 上並不支援。

適用於

另請參閱