MoveFirstMultipleKey Method (Int32)

Collapse All Expand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++

C#
Visual Basic
Visual C++

Berkeley DB .NET API Documentation
Cursor..::.MoveFirstMultipleKey Method (Int32)
Cursor Class See Also Send Feedback

Set the cursor to refer to the first key/data pair of the database, and store that pair and as many ensuing key/data pairs that can fit in a buffer the size of BufferSize in CurrentMultipleKey.

Namespace: BerkeleyDB
Assembly: libdb_dotnet60 (in libdb_dotnet60.dll) Version: 6.0.30.0

# Syntax

C#
    public bool MoveFirstMultipleKey(
    	int BufferSize
    )

Visual Basic (Declaration)
    Public Function MoveFirstMultipleKey ( _
    	BufferSize As Integer _
    ) As Boolean

Visual C++
    public:
    bool MoveFirstMultipleKey(
    	int BufferSize
    )

#### Parameters

BufferSize
  Type: System..::.Int32
  The size of a buffer to fill with key/data pairs. Must be at least the page size of the underlying database and be a multiple of 1024.

#### Return Value

True if the cursor was positioned successfully, false otherwise.

# See Also

Cursor Class
MoveFirstMultipleKey Overload
BerkeleyDB Namespace