RankedMapTKey, TValue Methods |
The RankedMapTKey, 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 map. | |
| ContainsKey | Determines whether the map contains the supplied key. | |
| ContainsValue | Determines whether the map contains the supplied value. | |
| CopyTo | Copies the map 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 lowest sorted key in the map. | |
| GetEnumerator | Gets an enumerator that iterates thru the map. | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetObjectData | Returns the data needed to serialize the map. | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IndexOfKey | Gets the index of the first element with the supplied key. | |
| IndexOfValue | Gets the index of the first element with the supplied value. | |
| Last | Gets the element with the highest sorted key in the map. | |
| 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(TKey) | Removes all elements with the supplied key from the map. | |
| Remove(TKey, Int32) | Removes a supplied number of elements with the supplied key from the map. | |
| RemoveAll |
Removes all elements with keys in the supplied collection from the map.
| |
| RemoveAt | Removes an element at the supplied index from the map. | |
| RemoveRange | Removes an index range of elements from the map. | |
| RemoveWhere | Removes all elements from the map that match the condition defined by the supplied key-parameterized predicate. | |
| RemoveWhereElement | Removes all elements from the map that match the condition defined by the supplied key/value-parameterized predicate. | |
| Reverse | Returns an enumerator that iterates thru the map 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 an element with the least key greater than the supplied key. | |
| TryGetGreaterThanOrEqual | Gets an element with the least key greater than or equal to the supplied key. | |
| TryGetLessThan | Gets an element with the greatest key less than the supplied key. | |
| TryGetLessThanOrEqual | Gets an element with the greatest key less than or equal to the supplied key. |
| Name | Description | |
|---|---|---|
| ICollectionKeyValuePairTKey, TValueAdd | Adds an element with the supplied key/value pair. | |
| ICollectionKeyValuePairTKey, TValueContains | Determines whether the map contains the supplied key/value pair. | |
| ICollectionCopyTo | Copies the elements of the map to an array, starting at the supplied array index. | |
| IEnumerableKeyValuePairTKey, TValueGetEnumerator | Gets an enumerator that iterates thru the map. | |
| IEnumerableGetEnumerator | Gets an enumerator that iterates thru the collection. | |
| ISerializableGetObjectData | Returns the data needed to serialize the map. | |
| IDeserializationCallbackOnDeserialization | Implements the deserialization callback and raises the deserialization event when completed. | |
| ICollectionKeyValuePairTKey, TValueRemove | Deletes all occurrences of the supplied key and its associated value from the collection. |