Api.RetrieveColumnAsDateTime 方法 (JET_SESID、JET_TABLEID、JET_COLUMNID)
從目前記錄擷取 datetime 資料行值。 記錄是與游標目前位置之索引項目目相關聯的記錄。
Namespace:Microsoft.Isam.Esent.Interop
裝配: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
語法
'Declaration
Public Shared Function RetrieveColumnAsDateTime ( _
sesid As JET_SESID, _
tableid As JET_TABLEID, _
columnid As JET_COLUMNID _
) As Nullable(Of DateTime)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim columnid As JET_COLUMNID
Dim returnValue As Nullable(Of DateTime)
returnValue = Api.RetrieveColumnAsDateTime(sesid, _
tableid, columnid)
public static Nullable<DateTime> RetrieveColumnAsDateTime(
JET_SESID sesid,
JET_TABLEID tableid,
JET_COLUMNID columnid
)
參數
sesid
類型: Microsoft.Isam.Esent.Interop.JET_SESID要使用的會話。
tableid
類型: Microsoft.Isam.Esent.Interop.JET_TABLEID要從中擷取資料行的資料指標。
columnid
類型: Microsoft.Isam.Esent.Interop.JET_COLUMNID要擷取的 columnid。
傳回值
類型:System.Nullable<DateTime>
從資料行擷取的資料做為日期時間。 如果資料行為 Null,則為 Null。
另請參閱
參考
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應