The HashCursor type exposes the following members.
Methods
Name | Description | |
---|---|---|
Add | Overloaded. | |
AddUnique |
Insert the specified key/data pair into the database, unless a
key/data pair comparing equally to it already exists in the
database.
| |
Close | 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 either a database or transaction handle closes this 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. | |
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.) | |
DbStream | Overloaded. | |
Delete |
Delete the key/data pair to which the cursor refers.
(Inherited from Cursor.) | |
Dispose |
Release the resources held by this object, and close the cursor if
it is still open.
(Inherited from BaseCursor.) | |
Duplicate |
Create a new cursor that uses the same transaction and locker ID as
the original cursor.
| |
Equals | (Inherited from Object.) | |
GetEnumerator |
Returns an enumerator that iterates through the
Cursor.
(Inherited from 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.) | |
Insert |
Insert the data element as a duplicate element of the key to which
the cursor refers.
| |
Move | Overloaded. | |
MoveFirst | Overloaded. | |
MoveFirstMultiple | Overloaded.
If positioning the cursor fails, CurrentMultiple
contains an empty
KeyValuePair<(Of <(TKey, TValue>)>).
| |
MoveFirstMultipleKey | Overloaded. | |
MoveLast | Overloaded. | |
MoveMultiple | Overloaded. | |
MoveMultipleKey | Overloaded. | |
MoveNext | Overloaded. | |
MoveNextDuplicate | Overloaded. | |
MoveNextDuplicateMultiple | Overloaded. | |
MoveNextDuplicateMultipleKey | Overloaded. | |
MoveNextMultiple | Overloaded. | |
MoveNextMultipleKey | Overloaded. | |
MoveNextUnique | Overloaded. | |
MoveNextUniqueMultiple | Overloaded. | |
MoveNextUniqueMultipleKey | Overloaded. | |
MovePrev | Overloaded. | |
MovePrevDuplicate | Overloaded. | |
MovePrevUnique | Overloaded. | |
Overwrite |
Overwrite the data of the key/data pair to which the cursor refers
with the specified data item.
(Inherited from Cursor.) | |
Refresh | Overloaded. | |
RefreshMultiple | Overloaded. | |
RefreshMultipleKey | Overloaded. | |
ToString | (Inherited from Object.) |
Properties
Name | Description | |
---|---|---|
Current |
The key/data pair at which the cursor currently points.
(Inherited from Cursor.) | |
CurrentMultiple |
The key and multiple data items at which the cursor currently
points.
(Inherited from Cursor.) | |
CurrentMultipleKey |
The multiple key and data items at which the cursor currently
points.
(Inherited from Cursor.) | |
Priority |
The cache priority for pages referenced by the cursor.
(Inherited from Cursor.) |