Api.JetGetSecondaryIndexBookmark メソッド
カーソルの現在位置にあるセカンダリ インデックス エントリの特別なブックマークを取得します。 このブックマークを使用すると、JetGotoSecondaryIndexBookmark を使用して、カーソルを同じインデックス エントリに効率的に再配置できます。 これは、重複するキーを含むセカンダリ インデックス、または同じレコードの複数のインデックス エントリを含むセカンダリ インデックスの位置を変更する場合に最も便利です。
Namespace:Microsoft.Isam.Esent.Interop
アセンブリ: Microsoft.Isam.Esent.Interop (Microsoft.Isam.Esent.Interop.dll)
構文
'Declaration
Public Shared Sub JetGetSecondaryIndexBookmark ( _
sesid As JET_SESID, _
tableid As JET_TABLEID, _
secondaryKey As Byte(), _
secondaryKeySize As Integer, _
<OutAttribute> ByRef actualSecondaryKeySize As Integer, _
primaryKey As Byte(), _
primaryKeySize As Integer, _
<OutAttribute> ByRef actualPrimaryKeySize As Integer, _
grbit As GetSecondaryIndexBookmarkGrbit _
)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim secondaryKey As Byte()
Dim secondaryKeySize As Integer
Dim actualSecondaryKeySize As Integer
Dim primaryKey As Byte()
Dim primaryKeySize As Integer
Dim actualPrimaryKeySize As Integer
Dim grbit As GetSecondaryIndexBookmarkGrbitApi.JetGetSecondaryIndexBookmark(sesid, _
tableid, secondaryKey, secondaryKeySize, _
actualSecondaryKeySize, primaryKey, _
primaryKeySize, actualPrimaryKeySize, _
grbit)
public static void JetGetSecondaryIndexBookmark(
JET_SESID sesid,
JET_TABLEID tableid,
byte[] secondaryKey,
int secondaryKeySize,
out int actualSecondaryKeySize,
byte[] primaryKey,
int primaryKeySize,
out int actualPrimaryKeySize,
GetSecondaryIndexBookmarkGrbit grbit
)
パラメーター
sesid
種類: Microsoft.Isam.Esent.Interop.JET_SESID使用するセッション。
tableid
種類: Microsoft.Isam.Esent.Interop.JET_TABLEIDブックマークを取得するカーソル。
secondaryKey
型: []セカンダリ キーの出力バッファー。
secondaryKeySize
型: System.Int32セカンダリ キー バッファーのサイズ。
actualSecondaryKeySize
型: System.Int32セカンダリ キーのサイズを返します。
primaryKey
型: []主キーの出力バッファー。
primaryKeySize
型: System.Int32主キー バッファーのサイズ。
actualPrimaryKeySize
型: System.Int32主キーのサイズを返します。
grbit
種類: Microsoft.Isam.Esent.Interop.GetSecondaryIndexBookmarkGrbit呼び出しのオプション。
関連項目
リファレンス
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示