<xml></xml>

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

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

# Overload List

| Name | Description
--- | --- | ---
| MovePrevUnique()()() | If the cursor is not yet initialized, MovePrevUnique is identical to MoveLast()()(). Otherwise, move the cursor to the previous non-duplicate key in the database, and store the secondary key and primary key/data pair in Current. MovePrevUnique will return false if no non-duplicate key/data pairs exist after the cursor position in the database.
| MovePrevUnique(LockingInfo) | If the cursor is not yet initialized, MovePrevUnique is identical to MoveLast(LockingInfo). Otherwise, move the cursor to the previous non-duplicate key in the database, and store the secondary key and primary key/data pair in Current. MovePrevUnique will return false if no non-duplicate key/data pairs exist after the cursor position in the database.

MovePrevUnique(DatabaseEntry, DatabaseEntry, DatabaseEntry)

If the cursor is not yet initialized, MovePrevUnique is identical to MoveLast()()(). Otherwise, move the cursor to the previous non-duplicate key in the database, and store the secondary key and primary key/data pair in Current. MovePrevUnique will return false if no non-duplicate key/data pairs exist after the cursor position in the database. 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, MovePrevUnique is successful, and any existing bytes are returned.

MovePrevUnique(DatabaseEntry, DatabaseEntry, DatabaseEntry, LockingInfo)

If the cursor is not yet initialized, MovePrevUnique is identical to MoveLast(LockingInfo). Otherwise, move the cursor to the previous non-duplicate key in the database, and store the secondary key and primary key/data pair in Current. MovePrevUnique will return false if no non-duplicate key/data pairs exist after the cursor position in the database. 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, MovePrevUnique is successful, and any existing bytes are returned.

# See Also

SecondaryCursor Class
SecondaryCursor Members
BerkeleyDB Namespace