Firebird ADO.NET Provider SDK Documentation - v1.7

FbDataReader.GetDateTime Method 

Gets the value of the specified column as a DateTime object.

[Visual Basic]
NotOverridable Public Function GetDateTime( _
   ByVal i As Integer _
) As Date _
    Implements IDataRecord.GetDateTime
[C#]
public DateTime GetDateTime(
   int i
);

Parameters

i
The zero-based column ordinal.

Return Value

The value of the specified column as a DateTime object.

Implements

IDataRecord.GetDateTime

Exceptions

Exception Type Condition
InvalidCastException The specified cast is not valid.

See Also

FbDataReader Class | FirebirdSql.Data.Firebird Namespace