OracleDataReader.GetChar(Int32) Method

Definition

Gets the value of the specified column as a character.

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

Parameters

i
Int32

The zero-based column ordinal.

Returns

The value of the specified column as a character.

Implements

Exceptions

The specified cast is not valid.

Remarks

Call IsDBNull to check for null values before calling this method.

Applies to