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

適用於

另請參閱