Api.JetGetCurrentIndex 方法
Ddeterminmin the current index of a given cursor. 此名稱也可用來稍後使用 JetSetCurrentIndex (JET_SESID、JET_TABLEID、String) 重新選取該索引作為目前索引。 它也可以用來使用 JetGetTableIndexInfo 來探索該索引的屬性。
Namespace:Microsoft.Isam.Esent.Interop
裝配: Microsoft.Isam.Esent.Interop (in Microsoft.Isam.Esent.Interop.dll)
語法
'Declaration
Public Shared Sub JetGetCurrentIndex ( _
sesid As JET_SESID, _
tableid As JET_TABLEID, _
<OutAttribute> ByRef indexName As String, _
maxNameLength As Integer _
)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim indexName As String
Dim maxNameLength As IntegerApi.JetGetCurrentIndex(sesid, tableid, _
indexName, maxNameLength)
public static void JetGetCurrentIndex(
JET_SESID sesid,
JET_TABLEID tableid,
out string indexName,
int maxNameLength
)
參數
sesid
類型: Microsoft.Isam.Esent.Interop.JET_SESID要使用的會話。
tableid
類型: Microsoft.Isam.Esent.Interop.JET_TABLEID要為其取得索引名稱的資料指標。
IndexName
類型: System.String傳回索引的名稱。
maxNameLength
類型: System.Int32索引名稱的最大長度。 索引名稱不超過 NameMost 字元。
另請參閱
參考
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應