SqlDataReader.GetChar(Int32) 方法

定義

從指定的資料行取得單一字元形式的值。

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

參數

i
Int32

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

傳回

指定的資料行值。

實作

例外狀況

指定的轉型無效。

備註

System.Data.SqlClient 上並不支援。

適用於

另請參閱