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