GetTimeSpan method

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

Syntax
Visual Basic
Public Function GetTimeSpan( _
   ByVal columnID As Integer _
) As TimeSpan
C#
public TimeSpan GetTimeSpan(
   int columnID
);
Parameters
  • 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