DbDataRecord.GetChar(Int32) Method

Definition

Returns the value of the specified column as a character.

public:
 abstract char GetChar(int i);
public:
 virtual char GetChar(int i);
public abstract char GetChar (int i);
public char GetChar (int i);
abstract member GetChar : int -> char
abstract member GetChar : int -> char
override this.GetChar : int -> char
Public MustOverride Function GetChar (i As Integer) As Char
Public Function GetChar (i As Integer) As Char

Parameters

i
Int32

The column ordinal.

Returns

The value of the specified column.

Implements

Remarks

No conversions are performed; therefore the data retrieved must already be a character.

Applies to

See also