Api.JetIndexRecordCount メソッド

現在のインデックス内のエントリ数を現在の位置からカウントします。 現在の位置がカウントに含まれます。 現在のインデックスが複数値の列を超え、列のインスタンスに複数の値がある場合、この数はテーブル内のレコードの合計数より大きくなる可能性があります。 テーブルが空の場合は、カウントに対して 0 が返されます。

Namespace:Microsoft.Isam.Esent.Interop
アセンブリ: Microsoft.Isam.Esent.Interop (Microsoft.Isam.Esent.Interop.dll)

構文

'Declaration
Public Shared Sub JetIndexRecordCount ( _
    sesid As JET_SESID, _
    tableid As JET_TABLEID, _
    <OutAttribute> ByRef numRecords As Integer, _
    maxRecordsToCount As Integer _
)
'Usage
Dim sesid As JET_SESID
Dim tableid As JET_TABLEID
Dim numRecords As Integer
Dim maxRecordsToCount As IntegerApi.JetIndexRecordCount(sesid, _
    tableid, numRecords, maxRecordsToCount)
public static void JetIndexRecordCount(
    JET_SESID sesid,
    JET_TABLEID tableid,
    out int numRecords,
    int maxRecordsToCount
)

パラメーター

  • numRecords
    型: System.Int32

    レコードの数を返します。

  • maxRecordsToCount
    型: System.Int32

    カウントするレコードの最大数。 値 0 は、カウントが無制限であることを示します。

関連項目

リファレンス

Api クラス

API メンバー

Microsoft.Isam.Esent.Interop 名前空間