Editare

Partajați prin


OleDbDataReader.GetChar(Int32) Method

Definition

Gets the value of the specified column as a character.

public:
 override char GetChar(int ordinal);
public:
 virtual char GetChar(int ordinal);
public override char GetChar (int ordinal);
public char GetChar (int ordinal);
override this.GetChar : int -> char
abstract member GetChar : int -> char
override this.GetChar : int -> char
Public Overrides Function GetChar (ordinal As Integer) As Char
Public 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 specified cast is not valid.

Remarks

Not supported for System.Data.OleDb.

Applies to

See also