Click or drag to resize

KeyCollection Methods

The RankedDictionaryTKey, TValueKeyCollection type exposes the following members.

Methods
  NameDescription
Public methodContains
Determines whether the dictionary contains the supplied key.
Public methodCopyTo
Copies keys to a supplied array, starting at the supplied position.
Public methodElementAt
Gets the key at the supplied index.
Public methodElementAtOrDefault
Gets the key at the supplied index or the default if the index is out of range.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodFirst
Gets the minimum key in the dictionary per the comparer.
Public methodGetEnumerator
Gets an enumerator that iterates thru the collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf
Gets the index of the supplied key.
Public methodLast
Gets the maximum key in the dictionary per the comparer.
Public methodReverse
Returns an enumerator that iterates thru the dictionary keys in reverse order.
Public methodCode exampleSkip
Bypasses a supplied number of keys and yields the remaining keys.
Public methodSkipWhile(FuncTKey, Boolean)
Bypasses keys as long as a supplied condition is true and yields the remaining keys.
Public methodSkipWhile(FuncTKey, Int32, Boolean)
Bypasses keys as long as a supplied index-based condition is true and yields the remaining keys.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodTryGet
Gets the actual key for the supplied search key.
Public methodTryGetGreaterThan
Gets the least key greater than the supplied key.
Public methodTryGetGreaterThanOrEqual
Gets the least key greater than or equal to the supplied key.
Public methodTryGetLessThan
Gets the greatest key less than the supplied key.
Public methodTryGetLessThanOrEqual
Gets the greatest key that is less than or equal to the supplied key.
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodICollectionTKeyAdd
This implementation always throws a NotSupportedException.
Explicit interface implementationPrivate methodICollectionTKeyClear
This implementation always throws a NotSupportedException.
Explicit interface implementationPrivate methodICollectionTKeyContains
Determines whether the collection contains the supplied key.
Explicit interface implementationPrivate methodICollectionCopyTo
Copies keys to a supplied array, starting at the supplied position.
Explicit interface implementationPrivate methodIEnumerableTKeyGetEnumerator
Gets an enumerator that iterates thru the collection.
Explicit interface implementationPrivate methodIEnumerableGetEnumerator
Gets an enumerator that iterates thru the collection.
Explicit interface implementationPrivate methodICollectionTKeyRemove
This implementation always throws a NotSupportedException.
Top
See Also