SqlDataReader.GetChar(Int32) メソッド

定義

指定した列の値を 1 文字として取得します。

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

0 から始まる列の序数。

返品

指定した列の値。

実装

例外

指定されたキャストが無効です。

注釈

System.Data.SqlClientではサポートされていません。

適用対象

こちらもご覧ください