OdbcDataReader.GetDate(Int32) 方法

定义

获取作为对象的指定列 DateTime 的值。

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

参数

i
Int32

从零开始的列序号。

返回

指定列的值作为 DateTime 对象。

适用于

另请参阅