This documentation is archived and is not being maintained.

OdbcDataReader.GetTime Method

Note: This namespace, class, or member is supported only in version 1.1 of the .NET Framework.

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

[Visual Basic]
Public Function GetTime( _
   ByVal i As Integer _
) As TimeSpan
[C#]
public TimeSpan GetTime(
 int i
);
[C++]
public: TimeSpan GetTime(
 int i
);
[JScript]
public function GetTime(
   i : int
) : TimeSpan;

Parameters

i
The zero-based column ordinal.

Return Value

The value of the specified column as a TimeSpan object.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

OdbcDataReader Class | OdbcDataReader Members | System.Data.Odbc Namespace

Show: