RankedDictionaryTKey, TValue Methods |
The RankedDictionaryTKey, TValue generic type exposes the following members.
Name | Description | |
---|---|---|
Add | Adds an element with the supplied key and value. | |
Clear | Removes all elements from the dictionary. | |
ContainsKey | Determines whether the dictionary contains the supplied key. | |
ContainsValue | Determines whether the dictionary contains the supplied value. | |
CopyTo | Copies the dictionary to a compatible array, starting at the supplied position. | |
ElementAt | Gets the key/value pair at the supplied index. | |
ElementAtOrDefault | Gets the key/value pair at the supplied index or the default if the index is out of range. | |
ElementsBetween | Returns an enumerator that iterates over a range with the supplied bounds. | |
ElementsBetweenIndexes | Returns an enumerator that iterates over a range with the supplied index bounds. | |
ElementsFrom | Returns an enumerator that iterates over a range with the supplied lower bound. | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
First | Gets the element with the minimum key in the dictionary per the comparer. | |
GetEnumerator | Gets an enumerator that iterates thru the dictionary. | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetObjectData | Returns the data needed to serialize the dictionary. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
IndexOfKey | Gets the index of the element with the supplied key. | |
IndexOfValue | Gets the index of the first element with the supplied value. | |
Last | Gets the element with the maximum key in the dictionary per the comparer. | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OnDeserialization | Implements the deserialization callback and raises the deserialization event when completed. | |
Remove | Removes an element with the supplied key from the dictionary. | |
RemoveAll |
Removes all elements with keys in the supplied collection from the dictionary.
| |
RemoveAt | Removes an element at the supplied index from the dictionary. | |
RemoveRange | Removes an index range of elements from the dictionary. | |
RemoveWhere | Removes all elements from the dictionary that match the condition defined by the supplied key-parameterized predicate. | |
RemoveWhereElement | Removes all elements from the dictionary that match the condition defined by the supplied key/value-parameterized predicate. | |
Reverse | Returns an enumerator that iterates thru the dictionary in reverse order. | |
Skip | Bypasses a supplied number of elements and yields the remaining elements. | |
SkipWhile(FuncKeyValuePairTKey, TValue, Boolean) |
Bypasses elements as long as a supplied condition is true and yields the remaining elements.
| |
SkipWhile(FuncKeyValuePairTKey, TValue, Int32, Boolean) |
Bypasses elements as long as a supplied index-based condition is true and yields the remaining elements.
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
TryGetGreaterThan | Gets the element with the least key greater than the supplied key. | |
TryGetGreaterThanOrEqual | Gets the element with the least key greater than or equal to the supplied key. | |
TryGetLessThan | Gets the element with the greatest key less than the supplied key. | |
TryGetLessThanOrEqual | Gets the element with the greatest key less than or equal to the supplied key. | |
TryGetValue | Gets the value associated with the supplied key. | |
TryGetValueAndIndex | Gets the value and index associated with the supplied key. |
Name | Description | |
---|---|---|
ICollectionKeyValuePairTKey, TValueAdd | Adds an element with the supplied key/value pair. | |
IDictionaryAdd | Adds the supplied key and value to the dictionary. | |
ICollectionKeyValuePairTKey, TValueContains | Determines if the collection contains the supplied key/value pair. | |
IDictionaryContains | Determines whether the dictionary contains an element with the supplied key. | |
ICollectionCopyTo | Copies the elements of the collection to an array, starting at the supplied array index. | |
IEnumerableKeyValuePairTKey, TValueGetEnumerator | Gets an enumerator that iterates thru the dictionary. | |
IDictionaryGetEnumerator | Gets an enumerator that iterates thru the collection. | |
IEnumerableGetEnumerator | Gets an enumerator that iterates thru the collection. | |
ISerializableGetObjectData | Returns the data needed to serialize the dictionary. | |
IDeserializationCallbackOnDeserialization | Implements the deserialization callback and raises the deserialization event when completed. | |
ICollectionKeyValuePairTKey, TValueRemove | Removes an element with the supplied key and value from the collection. | |
IDictionaryRemove | Removes an element with the supplied key from the dictionary. |