MovePrevDuplicate Method

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

C#
Visual Basic
Visual C++
Include Protected Members
Include Inherited Members

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

# Overload List

| Name | Description
--- | --- | ---
| MovePrevDuplicate()()() | If the previous key/data pair of the database is a duplicate data record for the current key/data pair, the cursor is moved to the previous key/data pair of the database, and the secondary key and primary key/data pair in Current. MovePrevDuplicate returns false if the previous key/data pair of the database is not a duplicate data record for the current key/data pair.
| MovePrevDuplicate(LockingInfo) | If the previous key/data pair of the database is a duplicate data record for the current key/data pair, the cursor is moved to the previous key/data pair of the database, and the secondary key and primary key/data pair in Current. MovePrevDuplicate returns false if the previous key/data pair of the database is not a duplicate data record for the current key/data pair.
| MovePrevDuplicate(DatabaseEntry, DatabaseEntry, DatabaseEntry) | If the previous key/data pair of the database is a duplicate data record for the current key/data pair, the cursor is moved to the previous key/data pair of the database, and the secondary key and primary key/data pair in Current. MovePrevDuplicate returns false if the previous key/data pair of the database is not a duplicate data record for the current key/data pair. 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, MovePrevDuplicate is successful, and any existing bytes are returned.
| MovePrevDuplicate(DatabaseEntry, DatabaseEntry, DatabaseEntry, LockingInfo) | If the previous key/data pair of the database is a duplicate data record for the current key/data pair, the cursor is moved to the previous key/data pair of the database, and the secondary key and primary key/data pair in Current. MovePrevDuplicate returns false if the previous key/data pair of the database is not a duplicate data record for the current key/data pair. 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, MovePrevDuplicate is successful, and any existing bytes are returned.

# See Also

SecondaryCursor Class
SecondaryCursor Members
BerkeleyDB Namespace