The BaseCursor type exposes the following members.



Discard the cursor. If you do not close the cursor before closing the database handle or the transaction handle that owns this cursor, then, closing a database handle or a transaction handle closes these open cursors.

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.

Compare this cursor's position to another's.
Returns a count of the number of data items for the key to which the cursor refers.

Delete the key/data pair to which the cursor refers.

When called on a SecondaryCursor, delete the key/data pair from the primary database and all secondary indices.

The cursor position is unchanged after a delete, and subsequent calls to cursor functions expecting the cursor to refer to an existing key will fail.

Release the resources held by this object, and close the cursor if it's still open.
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Returns an enumerator that iterates through the cursor.
Serves as a hash function for a particular type.
(Inherited from Object.)
Gets the Type of the current instance.
(Inherited from Object.)
Returns a String that represents the current Object.
(Inherited from Object.)

See Also