IDataRecord.GetChar(Int32) 方法

定义

获取指定列的字符值。

public:
 char GetChar(int i);
public char GetChar(int i);
abstract member GetChar : int -> char
Public Function GetChar (i As Integer) As Char

参数

i
Int32

从零开始的列序号。

返回

指定列的字符值。

例外

传递的索引超出了 0 到 FieldCount0 的范围。

适用于