<xml></xml>

Collapse AllExpand All Code: All Code: Multiple Code: C# Code: Visual Basic Code: Visual C++ Members: Show All Members: Filtered Members: Filtered Members: Filtered

Berkeley DB .NET API Documentation
SecondaryCursor..::.MovePrev Method
SecondaryCursor Class See Also Send Feedback

# Overload List

| Name | Description
--- | --- | ---
| MovePrev()()() | If the cursor is not yet initialized, MovePrev is identical to MoveLast()()(). Otherwise, move the cursor to the previous key/data pair of the database, and store the secondary key and primary key/data pair in Current. In the presence of duplicate key values, the value of Current.Key may not change.
| MovePrev(LockingInfo) | If the cursor is not yet initialized, MovePrev is identical to MoveLast(LockingInfo). Otherwise, move the cursor to the previous key/data pair of the database, and store the secondary key and primary key/data pair in Current. In the presence of duplicate key values, the value of Current.Key may not change.

MovePrev(DatabaseEntry, DatabaseEntry, DatabaseEntry)

If the cursor is not yet initialized, MovePrev is identical to MoveLast()()(). Otherwise, move the cursor to the previous key/data pair of the database, and store the secondary key and primary key/data pair in Current. In the presence of duplicate key values, the value of Current.Key may not change. If key, or pkey, or data is partial DatabaseEntry, its PartialLen bytes starting PartialOffset bytes from the beginning of the retrieved data record are returned as if they comprised the entire record. If any or all of the specified bytes do not exist in the record, MovePrev is successful, and any existing bytes are returned.

MovePrev(DatabaseEntry, DatabaseEntry, DatabaseEntry, LockingInfo)

If the cursor is not yet initialized, MovePrev is identical to MoveLast(LockingInfo). Otherwise, move the cursor to the previous key/data pair of the database, and store the secondary key and primary key/data pair in Current. In the presence of duplicate key values, the value of Current.Key may not change. If key, or pkey, or data is partial DatabaseEntry, its PartialLen bytes starting PartialOffset bytes from the beginning of the retrieved data record are returned as if they comprised the entire record. If any or all of the specified bytes do not exist in the record, MovePrev is successful, and any existing bytes are returned.

# See Also

SecondaryCursor Class
SecondaryCursor Members
BerkeleyDB Namespace