Mimer SQL Data Provider help
GetChar Method




Mimer.Data.Client Namespace > MimerDataReader Class : GetChar Method
The zero-based column ordinal position.
Gets the value of the specified column as a character.
Syntax
'Declaration
 
Public Overrides NotOverridable Function GetChar( _
   ByVal i As Integer _
) As Char
public override char GetChar( 
   int i
)
public function GetChar( 
    i: Integer
): Char; override; 
public override function GetChar( 
   i : int
) : char;
public: char GetChar( 
   int i
) override 

Parameters

i
The zero-based column ordinal position.

Return Value

The value of the column as a character.
Exceptions
ExceptionDescription
The column is not of type CHAR(1) or NCHAR(1).
The MimerDataReader is not positioned on a row.
The column ordinal is outside the valid range.
Remarks
Supported SQL data types for the conversion are: CHAR(1) and NCHAR(1).

Use the IsDBNull method to check for database null value before calling this method.

Requirements

.NET Framework
Version 2.0 or later

See Also

Reference

MimerDataReader Class
MimerDataReader Members