Breyta

Deila með


DbDataReader.GetChar(Int32) Method

Definition

When overridden in a derived class, gets the value of the specified column as a single character.

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

Parameters

ordinal
Int32

The zero-based column ordinal.

Returns

The value of the specified column.

Implements

Exceptions

The column index is out of range.

The specified cast is not valid.

Applies to

See also