OdbcDataReader.GetTime(Int32) 方法

定义

获取作为 TimeSpan 对象的指定列的值。Gets the value of the specified column as a TimeSpan object.

public:
 TimeSpan GetTime(int i);
public TimeSpan GetTime (int i);
member this.GetTime : int -> TimeSpan
Public Function GetTime (i As Integer) As TimeSpan

参数

i
Int32

从零开始的列序号。The zero-based column ordinal.

返回

指定列的 TimeSpan 对象形式的值。The value of the specified column as a TimeSpan object.

适用于

另请参阅