Share via


Api.RetrieveColumnAsDateTime 方法 (JET_SESID、JET_TABLEID、JET_COLUMNID、RetrieveColumnGrbit)

从当前记录中检索日期/时间列值。 记录是与光标当前位置的索引项关联的记录。

Namespace:Microsoft.Isam.Esent.Interop
装配: Microsoft.Isam.Esent.Interop.dll) 中的 Microsoft.Isam.Esent.Interop (

语法

'Declaration
Public Shared Function RetrieveColumnAsDateTime ( _
    sesid As JET_SESID, _
    tableid As JET_TABLEID, _
    columnid As JET_COLUMNID, _
    grbit As RetrieveColumnGrbit _
) As Nullable(Of DateTime)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim columnid As JET_COLUMNID
Dim grbit As RetrieveColumnGrbit
Dim returnValue As Nullable(Of DateTime)

returnValue = Api.RetrieveColumnAsDateTime(sesid, _
    tableid, columnid, grbit)
public static Nullable<DateTime> RetrieveColumnAsDateTime(
    JET_SESID sesid,
    JET_TABLEID tableid,
    JET_COLUMNID columnid,
    RetrieveColumnGrbit grbit
)

parameters

返回值

类型: System.Nullable<DateTime>
从列检索到的日期/时间数据。 如果列为 null,则为 Null。

另请参阅

参考

Api 类

Api 成员

RetrieveColumnAsDateTime 重载

Microsoft.Isam.Esent.Interop 命名空间