OracleDataReader.GetChar(Int32) 方法

定义

获取指定列的字符形式的值。

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

从零开始的列序号。

返回

Char

指定列的字符形式的值。

实现

例外

指定的强制转换无效。

注解

调用 IsDBNull 以在调用此方法之前检查 null 值。

适用于