Export (0) Print
Expand All

SortedList<TKey, TValue> Methods

The SortedList<TKey, TValue> type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Add Adds an element with the specified key and value into the SortedList<TKey, TValue>.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Clear Removes all elements from the SortedList<TKey, TValue>.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ContainsKey Determines whether the SortedList<TKey, TValue> contains a specific key.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ContainsValue Determines whether the SortedList<TKey, TValue> contains a specific value.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework 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 Supported by the .NET Compact Framework Supported by the XNA Framework GetEnumerator Returns an enumerator that iterates through the SortedList<TKey, TValue>.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework GetType Gets the type of the current instance. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework IndexOfKey Searches for the specified key and returns the zero-based index within the entire SortedList<TKey, TValue>.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework IndexOfValue Searches for the specified value and returns the zero-based index of the first occurrence within the entire SortedList<TKey, TValue>.
Protected method Supported by the .NET Compact Framework Supported by the XNA Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework Remove Removes the element with the specified key from the SortedList<TKey, TValue>.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework RemoveAt Removes the element at the specified index of the SortedList<TKey, TValue>.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework ToString Returns a string that represents the current object. (Inherited from Object.)
Public method Supported by the .NET Compact Framework Supported by the XNA Framework TrimExcess Sets the capacity to the actual number of elements in the SortedList<TKey, TValue>, if that number is less than 90 percent of current capacity.
Public method Supported by the .NET Compact Framework Supported by the XNA Framework TryGetValue Gets the value associated with the specified key.
Top

  NameDescription
Public Extension Method Aggregate Applies an accumulator function over a sequence. (Defined by Enumerable.)
Public Extension Method All Determines whether all elements of a sequence satisfy a condition. (Defined by Enumerable.)
Public Extension Method Any Overloaded. Determines whether any element of a sequence exists or satisfies a condition.
Public Extension Method AsEnumerable Returns the input typed as IEnumerable<T>. (Defined by Enumerable.)
Public Extension Method AsQueryable Overloaded. Converts an IEnumerable or generic IEnumerable<T> to an IQueryable or generic IQueryable<T>.
Public Extension Method Average Overloaded. Computes the average of a sequence of numeric values.
Public Extension Method Cast Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.)
Public Extension Method Concat Concatenates two sequences. (Defined by Enumerable.)
Public Extension Method Contains Overloaded. Determines whether a sequence contains a specified element.
Public Extension Method Count Overloaded. Returns the number of elements in a sequence.
Public Extension Method DefaultIfEmpty Overloaded. Returns the elements of an IEnumerable<T>, or a default valued singleton collection if the sequence is empty.
Public Extension Method Distinct Overloaded. Returns distinct elements from a sequence.
Public Extension Method ElementAt Returns the element at a specified index in a sequence. (Defined by Enumerable.)
Public Extension Method ElementAtOrDefault Returns the element at a specified index in a sequence or a default value if the index is out of range. (Defined by Enumerable.)
Public Extension Method Except Overloaded. Produces the set difference of two sequences.
Public Extension Method First Overloaded. Returns the first element of a sequence.
Public Extension Method FirstOrDefault Overloaded. Returns the first element of a sequence, or a default value if no element is found.
Public Extension Method Intersect Overloaded. Produces the set intersection of two sequences.
Public Extension Method Last Overloaded. Returns the last element of a sequence.
Public Extension Method LastOrDefault Overloaded. Returns the last element of a sequence, or a default value if no element is found.
Public Extension Method LongCount Overloaded. Returns an Int64 that represents the number of elements in a sequence.
Public Extension Method Max Overloaded. Returns the maximum value in a sequence of values.
Public Extension Method Min Overloaded. Returns the minimum value in a sequence of values.
Public Extension Method OfType Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.)
Public Extension Method Reverse Inverts the order of the elements in a sequence. (Defined by Enumerable.)
Public Extension Method SequenceEqual Overloaded. Determines whether two sequences are equal according to an equality comparer.
Public Extension Method Single Overloaded. Returns a single, specific element of a sequence of values.
Public Extension Method SingleOrDefault Overloaded. Returns a single, specific element of a sequence of values, or a default value if no such element is found.
Public Extension Method Skip Bypasses a specified number of elements in a sequence and then returns the remaining elements. (Defined by Enumerable.)
Public Extension Method SkipWhile Overloaded. Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements.
Public Extension Method Sum Overloaded. Computes the sum of a sequence of numeric values.
Public Extension Method Take Returns a specified number of contiguous elements from the start of a sequence. (Defined by Enumerable.)
Public Extension Method TakeWhile Overloaded. Returns elements from a sequence as long as a specified condition is true, and then skips the remaining elements.
Public Extension Method ToArray Creates an array from a IEnumerable<T>. (Defined by Enumerable.)
Public Extension Method ToList Creates a List<T> from an IEnumerable<T>. (Defined by Enumerable.)
Public Extension Method Union Overloaded. Produces the set union of two sequences.
Public Extension Method Where Overloaded. Filters a sequence of values based on a predicate.
Top

  NameDescription
Explicit interface implemetation Private method Supported by the .NET Compact Framework Supported by the XNA Framework ICollection<KeyValuePair<TKey, TValue>>.Add Adds a key/value pair to the ICollection<T>.
Explicit interface implemetation Private method Supported by the .NET Compact Framework Supported by the XNA Framework IDictionary.Add Adds an element with the provided key and value to the IDictionary.
Explicit interface implemetation Private method Supported by the .NET Compact Framework Supported by the XNA Framework ICollection<KeyValuePair<TKey, TValue>>.Contains Determines whether the ICollection<T> contains a specific element.
Explicit interface implemetation Private method Supported by the .NET Compact Framework Supported by the XNA Framework IDictionary.Contains Determines whether the IDictionary contains an element with the specified key.
Explicit interface implemetation Private method Supported by the .NET Compact Framework Supported by the XNA Framework ICollection<KeyValuePair<TKey, TValue>>.CopyTo Copies the elements of the ICollection<T> to an Array, starting at a particular Array index.
Explicit interface implemetation Private method Supported by the .NET Compact Framework Supported by the XNA Framework ICollection.CopyTo Copies the elements of the ICollection to an Array, starting at a particular Array index.
Explicit interface implemetation Private method Supported by the .NET Compact Framework Supported by the XNA Framework IEnumerable<KeyValuePair<TKey, TValue>>.GetEnumerator Returns an enumerator that iterates through a collection.
Explicit interface implemetation Private method Supported by the .NET Compact Framework Supported by the XNA Framework IDictionary.GetEnumerator Returns an IDictionaryEnumerator for the IDictionary.
Explicit interface implemetation Private method Supported by the .NET Compact Framework Supported by the XNA Framework IEnumerable.GetEnumerator Returns an enumerator that iterates through a collection.
Explicit interface implemetation Private method Supported by the .NET Compact Framework Supported by the XNA Framework ICollection<KeyValuePair<TKey, TValue>>.Remove Removes the first occurrence of a specific key/value pair from the ICollection<T>.
Explicit interface implemetation Private method Supported by the .NET Compact Framework Supported by the XNA Framework IDictionary.Remove Removes the element with the specified key from the IDictionary.
Top

Community Additions

ADD
Show:
© 2014 Microsoft