System.Data Namespace IDataRecord Class
Returns the value of the specified column as a character.
[ VB ]
NotOverridable Public Function GetChar ( _
ByVal index As Integer _
) As Char
[ C# ]
public char GetChar (
int index
);
[ C++ ]
public: __sealed __wchar_t GetChar (
int index
);
[ JScript ]
public function GetChar (
index : int
) : Char
- index
- The zero-based column ordinal.
The value of the column.
No conversions are performed, therefore the data retrieved must already be a character.
Call IsDBNull to check for null values before calling this method.
IDataRecord Members