Cursor Methods

BerkeleyDB

The Cursor type exposes the following members.

Methods

  NameDescription
Add
Stores the key/data pair in the database.
Close

Discard the cursor.

It is possible for the Close() method to throw a DeadlockException, signaling that any enclosing transaction should be aborted. If the application is already intending to abort the transaction, this error should be ignored, and the application should proceed.

After Close has been called, regardless of its result, the object may not be used again.

(Inherited from BaseCursor.)
Compare
Compare this cursor's position to another's.
(Inherited from BaseCursor.)
Count
Returns a count of the number of data items for the key to which the cursor refers.
(Inherited from BaseCursor.)
Delete
Delete the key/data pair to which the cursor refers.
Dispose
Release the resources held by this object, and close the cursor if it's still open.
(Inherited from BaseCursor.)
Duplicate
Create a new cursor that uses the same transaction and locker ID as the original cursor.
Equals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
GetEnumerator
Returns an enumerator that iterates through the Cursor.
GetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
GetType
Gets the Type of the current instance.
(Inherited from Object.)
MoveOverloaded.
MoveFirstOverloaded.
MoveFirstMultipleOverloaded.
If positioning the cursor fails, CurrentMultiple will contain an empty KeyValuePair<(Of <(TKey, TValue>)>).
MoveFirstMultipleKeyOverloaded.
MoveLastOverloaded.
MoveMultipleOverloaded.
MoveMultipleKeyOverloaded.
MoveNextOverloaded.
MoveNextDuplicateOverloaded.
MoveNextDuplicateMultipleOverloaded.
MoveNextDuplicateMultipleKeyOverloaded.
MoveNextMultipleOverloaded.
MoveNextMultipleKeyOverloaded.
MoveNextUniqueOverloaded.
MoveNextUniqueMultipleOverloaded.
MoveNextUniqueMultipleKeyOverloaded.
MovePrevOverloaded.
MovePrevDuplicateOverloaded.
MovePrevUniqueOverloaded.
Overwrite
Overwrite the data of the key/data pair to which the cursor refers with the specified data item.
RefreshOverloaded.
RefreshMultipleOverloaded.
RefreshMultipleKeyOverloaded.
ToString
Returns a String that represents the current Object.
(Inherited from Object.)

See Also