Returns the value of the specified column as a TimeSpan object.
Public Function GetTimeSpan(ByVal ordinal As Integer) As TimeSpan
public TimeSpan GetTimeSpan(int ordinal)
ordinal An ordinal number indicating the column from which the value is obtained. The numbering is zero-based.
The value of the specified column.
The column must be a SQL Anywhere TIME data type. The data is converted to TimeSpan. The Days property of TimeSpan is always set to 0.
Call SADataReader.IsDBNull method to check for NULL values before calling this method.
For more information, see Obtaining time values.