Click or drag to resize

OrderedDictionaryTKey, TValue Methods

The OrderedDictionaryTKey, TValue type exposes the following members.

Methods
  Name Description
Public method Add Adds the specified key and value to the dictionary as an O(1) operation.
Public method Clear Removes all keys and values from the OrderedDictionaryTKey, TValue.
Public method ContainsKey Determines whether the OrderedDictionaryTKey, TValue contains the specified key as an O(1) operation.
Public method EnsureCapacity Resizes the internal data structure if necessary to ensure no additional resizing to support the specified capacity.
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public method GetEnumerator Returns an enumerator that iterates through the OrderedDictionaryTKey, TValue.
Public method GetHashCode Serves as the default hash function.
(Inherited from Object)
Public method GetOrAdd(TKey, TValue) Adds a key/value pair to the OrderedDictionaryTKey, TValue if the key does not already exist as an O(1) operation.
Public method GetOrAdd(TKey, FuncTValue) Adds a key/value pair to the OrderedDictionaryTKey, TValue by using the specified function, if the key does not already exist as an O(1) operation.
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Public method IndexOf Returns the zero-based index of the element with the specified key within the OrderedDictionaryTKey, TValue as an O(1) operation.
Public method Insert Inserts the specified key/value pair into the OrderedDictionaryTKey, TValue at the specified index as an O(n) operation.
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Public method Move Moves the element at the specified fromIndex to the specified toIndex while re-arranging the elements in between.
Public method MoveRange Moves the specified number of elements at the specified fromIndex to the specified toIndex while re-arranging the elements in between.
Public method Remove(TKey) Removes the value with the specified key from the OrderedDictionaryTKey, TValue as an O(n) operation.
Public method Remove(TKey, TValue) Removes the value with the specified key from the OrderedDictionaryTKey, TValue and returns the value as an O(n) operation.
Public method RemoveAt Removes the value at the specified index from the OrderedDictionaryTKey, TValue as an O(n) operation.
Public method ToString Returns a string that represents the current object.
(Inherited from Object)
Public method TrimExcess Sets the capacity of an OrderedDictionaryTKey, TValue object to the actual number of elements it contains, rounded up to a nearby, implementation-specific value.
Public method TrimExcess(Int32) Sets the capacity of an OrderedDictionaryTKey, TValue object to the specified capacity, rounded up to a nearby, implementation-specific value.
Public method TryAdd Tries to add the specified key and value to the dictionary as an O(1) operation.
Public method TryGetValue Gets the value associated with the specified key as an O(1) operation.
Top
Extension Methods
  Name Description
Public Extension Method AddRangeKeyValuePairTKey, TValue Adds the specified items to the collection.
(Defined by CollectionExtensions)
Public Extension Method AllParallelKeyValuePairTKey, TValue Determines whether all elements of a sequence satisfy a condition with each item being tested in parallel.
(Defined by CollectionExtensions)
Public Extension Method DistinctByKeyValuePairTKey, TValue, TKey Returns only the elements whose keys are distinct.
(Defined by CollectionExtensions)
Public Extension Method GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method GetRangeKeyValuePairTKey, TValue Returns elements in the specified range from the collection.
(Defined by CollectionExtensions)
Public Extension Method IndexOfKeyValuePairTKey, TValue Returns the index of the first element of the sequence that satisfies a condition or -1 if no such element is found.
(Defined by CollectionExtensions)
Public Extension Method LoadDelimitedStringKeyValuePairTKey, TValue Appends items parsed from delimited string, created with ToDelimitedString, using the default delimiter ("|") into the given list.
(Defined by CollectionExtensions)
Public Extension Method LoadDelimitedStringKeyValuePairTKey, TValue Appends items parsed from delimited string, created with ToDelimitedString, into the given list.
(Defined by CollectionExtensions)
Public Extension Method LoadDelimitedStringKeyValuePairTKey, TValue Appends items parsed from delimited string, created with ToDelimitedString, into the given list.
(Defined by CollectionExtensions)
Public Extension Method MajorityKeyValuePairTKey, TValue Returns the majority value in the collection, or default type value if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method MajorityKeyValuePairTKey, TValue Returns the majority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method MajorityByKeyValuePairTKey, TValue, TKey Returns the majority value in the collection, or default type value if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method MajorityByKeyValuePairTKey, TValue, TKey Returns the majority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method MaxKeyValuePairTKey, TValue Returns the largest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method MaxKeyValuePairTKey, TValue Returns the largest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method MaxByKeyValuePairTKey, TValue, TKey Selects the largest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method MedianKeyValuePairTKey, TValue Gets the median item(s) from an enumeration, i.e., one return item for odd lengths, two for even lengths.
(Defined by CollectionExtensions)
Public Extension Method MinKeyValuePairTKey, TValue Returns the smallest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method MinKeyValuePairTKey, TValue Returns the smallest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method MinByKeyValuePairTKey, TValue, TKey Selects the smallest item from the enumeration.
(Defined by CollectionExtensions)
Public Extension Method MinorityKeyValuePairTKey, TValue Returns the minority value in the collection, or default type value if no item represents the minority.
(Defined by CollectionExtensions)
Public Extension Method MinorityKeyValuePairTKey, TValue Returns the minority value in the collection, or defaultValue if no item represents the minority.
(Defined by CollectionExtensions)
Public Extension Method MinorityByKeyValuePairTKey, TValue, TKey Returns the minority value in the collection, or default type value if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method MinorityByKeyValuePairTKey, TValue, TKey Returns the minority value in the collection, or defaultValue if no item represents the majority.
(Defined by CollectionExtensions)
Public Extension Method ScrambleKeyValuePairTKey, TValue Rearranges all the elements in the list into a highly-random order.
(Defined by CollectionExtensions)
Public Extension Method ScrambleKeyValuePairTKey, TValue Rearranges all the elements in the list into a repeatable pseudo-random order.
(Defined by CollectionExtensions)
Public Extension Method StandardDeviationKeyValuePairTKey, TValue Computes the standard deviation over a sequence of Double values.
(Defined by NumericalAnalysisExtensions)
Public Extension Method StandardDeviationKeyValuePairTKey, TValue Computes the standard deviation over a sequence of Decimal values.
(Defined by NumericalAnalysisExtensions)
Public Extension Method StandardDeviationKeyValuePairTKey, TValue Computes the standard deviation over a sequence of Single values.
(Defined by NumericalAnalysisExtensions)
Public Extension Method ToDelimitedStringKeyValuePairTKey, TValue Converts an enumeration to a string, using the default delimiter ("|") that can later be converted back to a list using LoadDelimitedString.
(Defined by CollectionExtensions)
Public Extension Method ToDelimitedStringKeyValuePairTKey, TValue Converts an enumeration to a string that can later be converted back to a list using LoadDelimitedString.
(Defined by CollectionExtensions)
Public Extension Method ToDelimitedStringKeyValuePairTKey, TValue Converts an enumeration to a string that can later be converted back to a list using LoadDelimitedString.
(Defined by CollectionExtensions)
Public Extension Method ToPagedListKeyValuePairTKey, TValue Gets a PagedListT to paginate source enumeration for a given page and specified pageSize.
(Defined by CollectionExtensions)
Public Extension Method UnscrambleKeyValuePairTKey, TValue Rearranges all the elements in the list previously scrambled with ScrambleTSource(IListTSource, Int32) back into their original order.
(Defined by CollectionExtensions)
Public Extension Method UpdateRangeKeyValuePairTKey, TValue Updates collection starting at the index with the specified items.
(Defined by CollectionExtensions)
Top
See Also