Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 11.0.1 (Français) » UltraLite - .NET Programming » UltraLite .NET 2.0 API reference » ULDataReader class


GetTimeSpan method

Returns the value for the specified column as a System.TimeSpan with millisecond accuracy.

Visual Basic
Public Function GetTimeSpan( _
   ByVal columnID As Integer _
) As TimeSpan
public TimeSpan GetTimeSpan(
   int columnID
  • columnID   The ID number of the column. The value must be in the range [0,ULDataReader.FieldCount-1]. The first column in the cursor has an ID value of zero.

Return value

The column value as a System.TimeSpan.

See also