.NET Framework Class Library SortedDictionary<(Of <(TKey, TValue>)>) Class Represents a collection of key/value pairs that are sorted on the key.

Inheritance Hierarchy
System..::.Object System.Collections.Generic..::.SortedDictionary<(Of <(TKey, TValue>)>)
Namespace:
System.Collections.Generic
Assembly:
System (in System.dll)

Syntax
<SerializableAttribute> _
Public Class SortedDictionary(Of TKey, TValue) _
Implements IDictionary(Of TKey, TValue), ICollection(Of KeyValuePair(Of TKey, TValue)), _
IEnumerable(Of KeyValuePair(Of TKey, TValue)), IDictionary, _
ICollection, IEnumerable
[SerializableAttribute]
public class SortedDictionary<TKey, TValue> : IDictionary<TKey, TValue>,
ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>,
IDictionary, ICollection, IEnumerable
[SerializableAttribute]
generic<typename TKey, typename TValue>
public ref class SortedDictionary : IDictionary<TKey, TValue>,
ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>,
IDictionary, ICollection, IEnumerable
[<SerializableAttribute>]
type SortedDictionary<'TKey, 'TValue> =
class
interface IDictionary<'TKey, 'TValue>
interface ICollection<KeyValuePair<'TKey, 'TValue>>
interface IEnumerable<KeyValuePair<'TKey, 'TValue>>
interface IDictionary
interface ICollection
interface IEnumerable
end
Type Parameters- TKey
The type of the keys in the dictionary.
- TValue
The type of the values in the dictionary.
The SortedDictionary<(Of <(TKey, TValue>)>) type exposes the following members.

Constructors
|
| Name | Description |
|---|
.gif) | SortedDictionary<(Of <(TKey, TValue>)>)()()() | Initializes a new instance of the SortedDictionary<(Of <(TKey, TValue>)>) class that is empty and uses the default IComparer<(Of <(T>)>) implementation for the key type. | .gif) | SortedDictionary<(Of <(TKey, TValue>)>)(IComparer<(Of <(TKey>)>)) | Initializes a new instance of the SortedDictionary<(Of <(TKey, TValue>)>) class that is empty and uses the specified IComparer<(Of <(T>)>) implementation to compare keys. | .gif) | SortedDictionary<(Of <(TKey, TValue>)>)(IDictionary<(Of <(TKey, TValue>)>)) | Initializes a new instance of the SortedDictionary<(Of <(TKey, TValue>)>) class that contains elements copied from the specified IDictionary<(Of <(TKey, TValue>)>) and uses the default IComparer<(Of <(T>)>) implementation for the key type. | .gif) | SortedDictionary<(Of <(TKey, TValue>)>)(IDictionary<(Of <(TKey, TValue>)>), IComparer<(Of <(TKey>)>)) | Initializes a new instance of the SortedDictionary<(Of <(TKey, TValue>)>) class that contains elements copied from the specified IDictionary<(Of <(TKey, TValue>)>) and uses the specified IComparer<(Of <(T>)>) implementation to compare keys. | Top

Extension Methods
|
| Name | Description |
|---|
.gif) | Aggregate<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), KeyValuePair<(Of <(TKey, TValue>)>), KeyValuePair<(Of <(TKey, TValue>)>)>)>)) | Overloaded. Applies an accumulator function over a sequence. (Defined by Enumerable.) | .gif) | Aggregate<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TAccumulate>)>)(TAccumulate, Func<(Of <(TAccumulate, KeyValuePair<(Of <(TKey, TValue>)>), TAccumulate>)>)) | Overloaded. Applies an accumulator function over a sequence. The specified seed value is used as the initial accumulator value. (Defined by Enumerable.) | .gif) | Aggregate<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TAccumulate, TResult>)>)(TAccumulate, Func<(Of <(TAccumulate, KeyValuePair<(Of <(TKey, TValue>)>), TAccumulate>)>), Func<(Of <(TAccumulate, TResult>)>)) | Overloaded. Applies an accumulator function over a sequence. The specified seed value is used as the initial accumulator value, and the specified function is used to select the result value. (Defined by Enumerable.) | .gif) | All<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>) | Determines whether all elements of a sequence satisfy a condition. (Defined by Enumerable.) | .gif) | Any<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)()()() | Overloaded. Determines whether a sequence contains any elements. (Defined by Enumerable.) | .gif) | Any<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Boolean>)>)) | Overloaded. Determines whether any element of a sequence satisfies a condition. (Defined by Enumerable.) | .gif) | AsEnumerable<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>) | Returns the input typed as IEnumerable<(Of <(T>)>). (Defined by Enumerable.) | .gif) | AsParallel()()() | Overloaded. Enables parallelization of a query. (Defined by ParallelEnumerable.) | .gif) | AsParallel<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)()()() | Overloaded. Enables parallelization of a query. (Defined by ParallelEnumerable.) | .gif) | AsQueryable()()() | Overloaded. Converts an IEnumerable to an IQueryable. (Defined by Queryable.) | .gif) | AsQueryable<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)()()() | Overloaded. Converts a generic IEnumerable<(Of <(T>)>) to a generic IQueryable<(Of <(T>)>). (Defined by Queryable.) | .gif) | Average<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Decimal>)>)>)>)) | Overloaded. Computes the average of a sequence of nullable Decimal values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.) | .gif) | Average<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Double>)>)>)>)) | Overloaded. Computes the average of a sequence of nullable Double values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.) | .gif) | Average<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Int32>)>)) | Overloaded. Computes the average of a sequence of Int32 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.) | .gif) | Average<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Int32>)>)>)>)) | Overloaded. Computes the average of a sequence of nullable Int32 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.) | .gif) | Average<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Int64>)>)) | Overloaded. Computes the average of a sequence of Int64 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.) | .gif) | Average<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Int64>)>)>)>)) | Overloaded. Computes the average of a sequence of nullable Int64 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.) | .gif) | Average<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Single>)>)) | Overloaded. Computes the average of a sequence of Single values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.) | .gif) | Average<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Single>)>)>)>)) | Overloaded. Computes the average of a sequence of nullable Single values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.) | .gif) | Average<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Double>)>)) | Overloaded. Computes the average of a sequence of Double values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.) | .gif) | Average<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Decimal>)>)) | Overloaded. Computes the average of a sequence of Decimal values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.) | .gif) | Cast<(Of <(TResult>)>) | Converts the elements of an IEnumerable to the specified type. (Defined by Enumerable.) | .gif) | Concat<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>) | Concatenates two sequences. (Defined by Enumerable.) | .gif) | Contains<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(KeyValuePair<(Of <(TKey, TValue>)>)) | Overloaded. Determines whether a sequence contains a specified element by using the default equality comparer. (Defined by Enumerable.) | .gif) | Contains<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(KeyValuePair<(Of <(TKey, TValue>)>), IEqualityComparer<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)) | Overloaded. Determines whether a sequence contains a specified element by using a specified IEqualityComparer<(Of <(T>)>). (Defined by Enumerable.) | .gif) | Count<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)()()() | Overloaded. Returns the number of elements in a sequence. (Defined by Enumerable.) | .gif) | Count<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Boolean>)>)) | Overloaded. Returns a number that represents how many elements in the specified sequence satisfy a condition. (Defined by Enumerable.) | .gif) | DefaultIfEmpty<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)()()() | Overloaded. Returns the elements of the specified sequence or the type parameter's default value in a singleton collection if the sequence is empty. (Defined by Enumerable.) | .gif) | DefaultIfEmpty<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(KeyValuePair<(Of <(TKey, TValue>)>)) | Overloaded. Returns the elements of the specified sequence or the specified value in a singleton collection if the sequence is empty. (Defined by Enumerable.) | .gif) | Distinct<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)()()() | Overloaded. Returns distinct elements from a sequence by using the default equality comparer to compare values. (Defined by Enumerable.) | .gif) | Distinct<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(IEqualityComparer<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)) | Overloaded. Returns distinct elements from a sequence by using a specified IEqualityComparer<(Of <(T>)>) to compare values. (Defined by Enumerable.) | .gif) | ElementAt<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>) | Returns the element at a specified index in a sequence. (Defined by Enumerable.) | .gif) | ElementAtOrDefault<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>) | Returns the element at a specified index in a sequence or a default value if the index is out of range. (Defined by Enumerable.) | .gif) | Except<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(IEnumerable<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)) | Overloaded. Produces the set difference of two sequences by using the default equality comparer to compare values. (Defined by Enumerable.) | .gif) | Except<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(IEnumerable<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>), IEqualityComparer<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)) | Overloaded. Produces the set difference of two sequences by using the specified IEqualityComparer<(Of <(T>)>) to compare values. (Defined by Enumerable.) | .gif) | First<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)()()() | Overloaded. Returns the first element of a sequence. (Defined by Enumerable.) | .gif) | First<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Boolean>)>)) | Overloaded. Returns the first element in a sequence that satisfies a specified condition. (Defined by Enumerable.) | .gif) | FirstOrDefault<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)()()() | Overloaded. Returns the first element of a sequence, or a default value if the sequence contains no elements. (Defined by Enumerable.) | .gif) | FirstOrDefault<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Boolean>)>)) | Overloaded. Returns the first element of the sequence that satisfies a condition or a default value if no such element is found. (Defined by Enumerable.) | .gif) | GroupBy<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>)) | Overloaded. Groups the elements of a sequence according to a specified key selector function. (Defined by Enumerable.) | .gif) | GroupBy<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), IEqualityComparer<(Of <(TKey>)>)) | Overloaded. Groups the elements of a sequence according to a specified key selector function and compares the keys by using a specified comparer. (Defined by Enumerable.) | .gif) | GroupBy<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey, TElement>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TElement>)>)) | Overloaded. Groups the elements of a sequence according to a specified key selector function and projects the elements for each group by using a specified function. (Defined by Enumerable.) | .gif) | GroupBy<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey, TResult>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), Func<(Of <(TKey, IEnumerable<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>), TResult>)>)) | Overloaded. Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. (Defined by Enumerable.) | .gif) | GroupBy<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey, TElement>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TElement>)>), IEqualityComparer<(Of <(TKey>)>)) | Overloaded. Groups the elements of a sequence according to a key selector function. The keys are compared by using a comparer and each group's elements are projected by using a specified function. (Defined by Enumerable.) | .gif) | GroupBy<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey, TResult>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), Func<(Of <(TKey, IEnumerable<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>), TResult>)>), IEqualityComparer<(Of <(TKey>)>)) | Overloaded. Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. The keys are compared by using a specified comparer. (Defined by Enumerable.) | .gif) | GroupBy<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey, TElement, TResult>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TElement>)>), Func<(Of <(TKey, IEnumerable<(Of <(TElement>)>), TResult>)>)) | Overloaded. Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. The elements of each group are projected by using a specified function. (Defined by Enumerable.) | .gif) | GroupBy<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey, TElement, TResult>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TElement>)>), Func<(Of <(TKey, IEnumerable<(Of <(TElement>)>), TResult>)>), IEqualityComparer<(Of <(TKey>)>)) | Overloaded. Groups the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. Key values are compared by using a specified comparer, and the elements of each group are projected by using a specified function. (Defined by Enumerable.) | .gif) | GroupJoin<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TInner, TKey, TResult>)>)(IEnumerable<(Of <(TInner>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), Func<(Of <(TInner, TKey>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), IEnumerable<(Of <(TInner>)>), TResult>)>)) | Overloaded. Correlates the elements of two sequences based on equality of keys and groups the results. The default equality comparer is used to compare keys. (Defined by Enumerable.) | .gif) | GroupJoin<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TInner, TKey, TResult>)>)(IEnumerable<(Of <(TInner>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), Func<(Of <(TInner, TKey>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), IEnumerable<(Of <(TInner>)>), TResult>)>), IEqualityComparer<(Of <(TKey>)>)) | Overloaded. Correlates the elements of two sequences based on key equality and groups the results. A specified IEqualityComparer<(Of <(T>)>) is used to compare keys. (Defined by Enumerable.) | .gif) | Intersect<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(IEnumerable<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)) | Overloaded. Produces the set intersection of two sequences by using the default equality comparer to compare values. (Defined by Enumerable.) | .gif) | Intersect<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(IEnumerable<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>), IEqualityComparer<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)) | Overloaded. Produces the set intersection of two sequences by using the specified IEqualityComparer<(Of <(T>)>) to compare values. (Defined by Enumerable.) | .gif) | Join<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TInner, TKey, TResult>)>)(IEnumerable<(Of <(TInner>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), Func<(Of <(TInner, TKey>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TInner, TResult>)>)) | Overloaded. Correlates the elements of two sequences based on matching keys. The default equality comparer is used to compare keys. (Defined by Enumerable.) | .gif) | Join<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TInner, TKey, TResult>)>)(IEnumerable<(Of <(TInner>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), Func<(Of <(TInner, TKey>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TInner, TResult>)>), IEqualityComparer<(Of <(TKey>)>)) | Overloaded. Correlates the elements of two sequences based on matching keys. A specified IEqualityComparer<(Of <(T>)>) is used to compare keys. (Defined by Enumerable.) | .gif) | Last<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)()()() | Overloaded. Returns the last element of a sequence. (Defined by Enumerable.) | .gif) | Last<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Boolean>)>)) | Overloaded. Returns the last element of a sequence that satisfies a specified condition. (Defined by Enumerable.) | .gif) | LastOrDefault<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)()()() | Overloaded. Returns the last element of a sequence, or a default value if the sequence contains no elements. (Defined by Enumerable.) | .gif) | LastOrDefault<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Boolean>)>)) | Overloaded. Returns the last element of a sequence that satisfies a condition or a default value if no such element is found. (Defined by Enumerable.) | .gif) | LongCount<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)()()() | Overloaded. Returns an Int64 that represents the total number of elements in a sequence. (Defined by Enumerable.) | .gif) | LongCount<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Boolean>)>)) | Overloaded. Returns an Int64 that represents how many elements in a sequence satisfy a condition. (Defined by Enumerable.) | .gif) | Max<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)()()() | Overloaded. Returns the maximum value in a generic sequence. (Defined by Enumerable.) | .gif) | Max<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Decimal>)>)>)>)) | Overloaded. Invokes a transform function on each element of a sequence and returns the maximum nullable Decimal value. (Defined by Enumerable.) | .gif) | Max<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Double>)>)>)>)) | Overloaded. Invokes a transform function on each element of a sequence and returns the maximum nullable Double value. (Defined by Enumerable.) | .gif) | Max<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Int32>)>)) | Overloaded. Invokes a transform function on each element of a sequence and returns the maximum Int32 value. (Defined by Enumerable.) | .gif) | Max<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Int32>)>)>)>)) | Overloaded. Invokes a transform function on each element of a sequence and returns the maximum nullable Int32 value. (Defined by Enumerable.) | .gif) | Max<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Int64>)>)) | Overloaded. Invokes a transform function on each element of a sequence and returns the maximum Int64 value. (Defined by Enumerable.) | .gif) | Max<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Int64>)>)>)>)) | Overloaded. Invokes a transform function on each element of a sequence and returns the maximum nullable Int64 value. (Defined by Enumerable.) | .gif) | Max<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Single>)>)) | Overloaded. Invokes a transform function on each element of a sequence and returns the maximum Single value. (Defined by Enumerable.) | .gif) | Max<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Single>)>)>)>)) | Overloaded. Invokes a transform function on each element of a sequence and returns the maximum nullable Single value. (Defined by Enumerable.) | .gif) | Max<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Double>)>)) | Overloaded. Invokes a transform function on each element of a sequence and returns the maximum Double value. (Defined by Enumerable.) | .gif) | Max<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Decimal>)>)) | Overloaded. Invokes a transform function on each element of a sequence and returns the maximum Decimal value. (Defined by Enumerable.) | .gif) | Max<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TResult>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TResult>)>)) | Overloaded. Invokes a transform function on each element of a generic sequence and returns the maximum resulting value. (Defined by Enumerable.) | .gif) | Min<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)()()() | Overloaded. Returns the minimum value in a generic sequence. (Defined by Enumerable.) | .gif) | Min<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Decimal>)>)>)>)) | Overloaded. Invokes a transform function on each element of a sequence and returns the minimum nullable Decimal value. (Defined by Enumerable.) | .gif) | Min<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Double>)>)>)>)) | Overloaded. Invokes a transform function on each element of a sequence and returns the minimum nullable Double value. (Defined by Enumerable.) | .gif) | Min<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Int32>)>)) | Overloaded. Invokes a transform function on each element of a sequence and returns the minimum Int32 value. (Defined by Enumerable.) | .gif) | Min<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Int32>)>)>)>)) | Overloaded. Invokes a transform function on each element of a sequence and returns the minimum nullable Int32 value. (Defined by Enumerable.) | .gif) | Min<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Int64>)>)) | Overloaded. Invokes a transform function on each element of a sequence and returns the minimum Int64 value. (Defined by Enumerable.) | .gif) | Min<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Int64>)>)>)>)) | Overloaded. Invokes a transform function on each element of a sequence and returns the minimum nullable Int64 value. (Defined by Enumerable.) | .gif) | Min<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Single>)>)) | Overloaded. Invokes a transform function on each element of a sequence and returns the minimum Single value. (Defined by Enumerable.) | .gif) | Min<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Single>)>)>)>)) | Overloaded. Invokes a transform function on each element of a sequence and returns the minimum nullable Single value. (Defined by Enumerable.) | .gif) | Min<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Double>)>)) | Overloaded. Invokes a transform function on each element of a sequence and returns the minimum Double value. (Defined by Enumerable.) | .gif) | Min<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Decimal>)>)) | Overloaded. Invokes a transform function on each element of a sequence and returns the minimum Decimal value. (Defined by Enumerable.) | .gif) | Min<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TResult>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TResult>)>)) | Overloaded. Invokes a transform function on each element of a generic sequence and returns the minimum resulting value. (Defined by Enumerable.) | .gif) | OfType<(Of <(TResult>)>) | Filters the elements of an IEnumerable based on a specified type. (Defined by Enumerable.) | .gif) | OrderBy<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>)) | Overloaded. Sorts the elements of a sequence in ascending order according to a key. (Defined by Enumerable.) | .gif) | OrderBy<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), IComparer<(Of <(TKey>)>)) | Overloaded. Sorts the elements of a sequence in ascending order by using a specified comparer. (Defined by Enumerable.) | .gif) | OrderByDescending<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>)) | Overloaded. Sorts the elements of a sequence in descending order according to a key. (Defined by Enumerable.) | .gif) | OrderByDescending<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), IComparer<(Of <(TKey>)>)) | Overloaded. Sorts the elements of a sequence in descending order by using a specified comparer. (Defined by Enumerable.) | .gif) | Reverse<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>) | Inverts the order of the elements in a sequence. (Defined by Enumerable.) | .gif) | Select<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TResult>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TResult>)>)) | Overloaded. Projects each element of a sequence into a new form. (Defined by Enumerable.) | .gif) | Select<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TResult>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Int32, TResult>)>)) | Overloaded. Projects each element of a sequence into a new form by incorporating the element's index. (Defined by Enumerable.) | .gif) | SelectMany<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TResult>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), IEnumerable<(Of <(TResult>)>)>)>)) | Overloaded. Projects each element of a sequence to an IEnumerable<(Of <(T>)>) and flattens the resulting sequences into one sequence. (Defined by Enumerable.) | .gif) | SelectMany<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TResult>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Int32, IEnumerable<(Of <(TResult>)>)>)>)) | Overloaded. Projects each element of a sequence to an IEnumerable<(Of <(T>)>), and flattens the resulting sequences into one sequence. The index of each source element is used in the projected form of that element. (Defined by Enumerable.) | .gif) | SelectMany<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TCollection, TResult>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Int32, IEnumerable<(Of <(TCollection>)>)>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TCollection, TResult>)>)) | Overloaded. Projects each element of a sequence to an IEnumerable<(Of <(T>)>), flattens the resulting sequences into one sequence, and invokes a result selector function on each element therein. The index of each source element is used in the intermediate projected form of that element. (Defined by Enumerable.) | .gif) | SelectMany<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TCollection, TResult>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), IEnumerable<(Of <(TCollection>)>)>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TCollection, TResult>)>)) | Overloaded. Projects each element of a sequence to an IEnumerable<(Of <(T>)>), flattens the resulting sequences into one sequence, and invokes a result selector function on each element therein. (Defined by Enumerable.) | .gif) | SequenceEqual<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(IEnumerable<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)) | Overloaded. Determines whether two sequences are equal by comparing the elements by using the default equality comparer for their type. (Defined by Enumerable.) | .gif) | SequenceEqual<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(IEnumerable<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>), IEqualityComparer<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)) | Overloaded. Determines whether two sequences are equal by comparing their elements by using a specified IEqualityComparer<(Of <(T>)>). (Defined by Enumerable.) | .gif) | Single<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)()()() | Overloaded. Returns the only element of a sequence, and throws an exception if there is not exactly one element in the sequence. (Defined by Enumerable.) | .gif) | Single<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Boolean>)>)) | Overloaded. Returns the only element of a sequence that satisfies a specified condition, and throws an exception if more than one such element exists. (Defined by Enumerable.) | .gif) | SingleOrDefault<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)()()() | Overloaded. Returns the only element of a sequence, or a default value if the sequence is empty; this method throws an exception if there is more than one element in the sequence. (Defined by Enumerable.) | .gif) | SingleOrDefault<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Boolean>)>)) | Overloaded. Returns the only element of a sequence that satisfies a specified condition or a default value if no such element exists; this method throws an exception if more than one element satisfies the condition. (Defined by Enumerable.) | .gif) | Skip<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>) | Bypasses a specified number of elements in a sequence and then returns the remaining elements. (Defined by Enumerable.) | .gif) | SkipWhile<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Boolean>)>)) | Overloaded. Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. (Defined by Enumerable.) | .gif) | SkipWhile<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Int32, Boolean>)>)) | Overloaded. Bypasses elements in a sequence as long as a specified condition is true and then returns the remaining elements. The element's index is used in the logic of the predicate function. (Defined by Enumerable.) | .gif) | Sum<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Decimal>)>)>)>)) | Overloaded. Computes the sum of the sequence of nullable Decimal values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.) | .gif) | Sum<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Double>)>)>)>)) | Overloaded. Computes the sum of the sequence of nullable Double values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.) | .gif) | Sum<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Int32>)>)) | Overloaded. Computes the sum of the sequence of Int32 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.) | .gif) | Sum<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Int32>)>)>)>)) | Overloaded. Computes the sum of the sequence of nullable Int32 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.) | .gif) | Sum<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Int64>)>)) | Overloaded. Computes the sum of the sequence of Int64 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.) | .gif) | Sum<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Int64>)>)>)>)) | Overloaded. Computes the sum of the sequence of nullable Int64 values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.) | .gif) | Sum<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Single>)>)) | Overloaded. Computes the sum of the sequence of Single values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.) | .gif) | Sum<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Single>)>)>)>)) | Overloaded. Computes the sum of the sequence of nullable Single values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.) | .gif) | Sum<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Double>)>)) | Overloaded. Computes the sum of the sequence of Double values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.) | .gif) | Sum<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Decimal>)>)) | Overloaded. Computes the sum of the sequence of Decimal values that are obtained by invoking a transform function on each element of the input sequence. (Defined by Enumerable.) | .gif) | Take<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>) | Returns a specified number of contiguous elements from the start of a sequence. (Defined by Enumerable.) | .gif) | TakeWhile<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Boolean>)>)) | Overloaded. Returns elements from a sequence as long as a specified condition is true. (Defined by Enumerable.) | .gif) | TakeWhile<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Int32, Boolean>)>)) | Overloaded. Returns elements from a sequence as long as a specified condition is true. The element's index is used in the logic of the predicate function. (Defined by Enumerable.) | .gif) | ToArray<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>) | Creates an array from a IEnumerable<(Of <(T>)>). (Defined by Enumerable.) | .gif) | ToDictionary<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>)) | Overloaded. Creates a Dictionary<(Of <(TKey, TValue>)>) from an IEnumerable<(Of <(T>)>) according to a specified key selector function. (Defined by Enumerable.) | .gif) | ToDictionary<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), IEqualityComparer<(Of <(TKey>)>)) | Overloaded. Creates a Dictionary<(Of <(TKey, TValue>)>) from an IEnumerable<(Of <(T>)>) according to a specified key selector function and key comparer. (Defined by Enumerable.) | .gif) | ToDictionary<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey, TElement>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TElement>)>)) | Overloaded. Creates a Dictionary<(Of <(TKey, TValue>)>) from an IEnumerable<(Of <(T>)>) according to specified key selector and element selector functions. (Defined by Enumerable.) | .gif) | ToDictionary<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey, TElement>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TElement>)>), IEqualityComparer<(Of <(TKey>)>)) | Overloaded. Creates a Dictionary<(Of <(TKey, TValue>)>) from an IEnumerable<(Of <(T>)>) according to a specified key selector function, a comparer, and an element selector function. (Defined by Enumerable.) | .gif) | ToList<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>) | Creates a List<(Of <(T>)>) from an IEnumerable<(Of <(T>)>). (Defined by Enumerable.) | .gif) | ToLookup<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>)) | Overloaded. Creates a Lookup<(Of <(TKey, TElement>)>) from an IEnumerable<(Of <(T>)>) according to a specified key selector function. (Defined by Enumerable.) | .gif) | ToLookup<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), IEqualityComparer<(Of <(TKey>)>)) | Overloaded. Creates a Lookup<(Of <(TKey, TElement>)>) from an IEnumerable<(Of <(T>)>) according to a specified key selector function and key comparer. (Defined by Enumerable.) | .gif) | ToLookup<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey, TElement>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TElement>)>)) | Overloaded. Creates a Lookup<(Of <(TKey, TElement>)>) from an IEnumerable<(Of <(T>)>) according to specified key selector and element selector functions. (Defined by Enumerable.) | .gif) | ToLookup<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey, TElement>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TElement>)>), IEqualityComparer<(Of <(TKey>)>)) | Overloaded. Creates a Lookup<(Of <(TKey, TElement>)>) from an IEnumerable<(Of <(T>)>) according to a specified key selector function, a comparer and an element selector function. (Defined by Enumerable.) | .gif) | Union<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(IEnumerable<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)) | Overloaded. Produces the set union of two sequences by using the default equality comparer. (Defined by Enumerable.) | .gif) | Union<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(IEnumerable<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>), IEqualityComparer<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)) | Overloaded. Produces the set union of two sequences by using a specified IEqualityComparer<(Of <(T>)>). (Defined by Enumerable.) | .gif) | Where<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Boolean>)>)) | Overloaded. Filters a sequence of values based on a predicate. (Defined by Enumerable.) | .gif) | Where<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Int32, Boolean>)>)) | Overloaded. Filters a sequence of values based on a predicate. Each element's index is used in the logic of the predicate function. (Defined by Enumerable.) | .gif) | Zip<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TSecond, TResult>)>) | Merges two sequences by using the specified predicate function. (Defined by Enumerable.) | Top

Explicit Interface Implementations
|
| Name | Description |
|---|
.gif) .gif) | ICollection<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)..::.Add | Adds an item to the ICollection<(Of <(T>)>). | .gif) .gif) | ICollection<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)..::.Contains | Determines whether the ICollection<(Of <(T>)>) contains a specific key and value. | .gif) .gif) | ICollection..::.CopyTo | Copies the elements of the ICollection<(Of <(T>)>) to an array, starting at the specified array index. | .gif) .gif) | ICollection<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)..::.IsReadOnly | Gets a value indicating whether the ICollection<(Of <(T>)>) is read-only. | .gif) .gif) | ICollection..::.IsSynchronized | Gets a value indicating whether access to the ICollection is synchronized (thread safe). | .gif) .gif) | ICollection<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)..::.Remove | Removes the first occurrence of the specified element from the ICollection<(Of <(T>)>). | .gif) .gif) | ICollection..::.SyncRoot | Gets an object that can be used to synchronize access to the ICollection. | .gif) .gif) | IDictionary..::.Add | Adds an element with the provided key and value to the IDictionary. | .gif) .gif) | IDictionary..::.Contains | Determines whether the IDictionary contains an element with the specified key. | .gif) .gif) | IDictionary..::.GetEnumerator | Returns an IDictionaryEnumerator for the IDictionary. | .gif) .gif) | IDictionary..::.IsFixedSize | Gets a value indicating whether the IDictionary has a fixed size. | .gif) .gif) | IDictionary..::.IsReadOnly | Gets a value indicating whether the IDictionary is read-only. | .gif) .gif) | IDictionary..::.Item | Gets or sets the element with the specified key. | .gif) .gif) | IDictionary<(Of <(TKey, TValue>)>)..::.Keys | Gets an ICollection<(Of <(T>)>) containing the keys of the IDictionary<(Of <(TKey, TValue>)>). | .gif) .gif) | IDictionary..::.Keys | Gets an ICollection containing the keys of the IDictionary. | .gif) .gif) | IDictionary..::.Remove | Removes the element with the specified key from the IDictionary. | .gif) .gif) | IDictionary<(Of <(TKey, TValue>)>)..::.Values | Gets an ICollection<(Of <(T>)>) containing the values in the IDictionary<(Of <(TKey, TValue>)>). | .gif) .gif) | IDictionary..::.Values | Gets an ICollection containing the values in the IDictionary. | .gif) .gif) | IEnumerable<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)..::.GetEnumerator | Returns an enumerator that iterates through a collection. | .gif) .gif) | IEnumerable..::.GetEnumerator | Returns an enumerator that iterates through the collection. | Top

Remarks
The SortedDictionary<(Of <(TKey, TValue>)>) generic class is a binary search tree with O(log n) retrieval, where n is the number of elements in the dictionary. In this respect, it is similar to the SortedList<(Of <(TKey, TValue>)>) generic class. The two classes have similar object models, and both have O(log n) retrieval. Where the two classes differ is in memory use and speed of insertion and removal: Each key/value pair can be retrieved as a KeyValuePair<(Of <(TKey, TValue>)>) structure, or as a DictionaryEntry through the nongeneric IDictionary interface. Keys must be immutable as long as they are used as keys in the SortedDictionary<(Of <(TKey, TValue>)>). Every key in a SortedDictionary<(Of <(TKey, TValue>)>) must be unique. A key cannot be nullNothingnullptra null reference (Nothing in Visual Basic), but a value can be, if the value type TValue is a reference type.
SortedDictionary<(Of <(TKey, TValue>)>) requires a comparer implementation to perform key comparisons. You can specify an implementation of the IComparer<(Of <(T>)>) generic interface by using a constructor that accepts a comparer parameter; if you do not specify an implementation, the default generic comparer Comparer<(Of <(T>)>)..::.Default is used. If type TKey implements the System..::.IComparable<(Of <(T>)>) generic interface, the default comparer uses that implementation. The foreach statement of the C# language (for each in C++, For Each in Visual Basic) requires the type of each element in the collection. Since each element of the SortedDictionary<(Of <(TKey, TValue>)>) is a key/value pair, the element type is not the type of the key or the type of the value. Instead, the element type is KeyValuePair<(Of <(TKey, TValue>)>). The following code shows C#, C++, and Visual Basic syntax.
For Each kvp As KeyValuePair(Of String, String) In myDictionary
Console.WriteLine("Key = {0}, Value = {1}", kvp.Key, kvp.Value)
Next kvp
foreach( KeyValuePair<string, string> kvp in myDictionary )
{
Console.WriteLine("Key = {0}, Value = {1}", kvp.Key, kvp.Value);
}
for each(KeyValuePair<String^, String^> kvp in myDictionary)
{
Console::WriteLine("Key = {0}, Value = {1}", kvp.Key, kvp.Value);
}
The foreach statement is a wrapper around the enumerator, which allows only reading from the collection, not writing to it.

Examples
The following code example creates an empty SortedDictionary<(Of <(TKey, TValue>)>) of strings with string keys and uses the Add method to add some elements. The example demonstrates that the Add method throws an ArgumentException when attempting to add a duplicate key. The example uses the Item property (the indexer in C#) to retrieve values, demonstrating that a KeyNotFoundException is thrown when a requested key is not present, and showing that the value associated with a key can be replaced. The example shows how to use the TryGetValue method as a more efficient way to retrieve values if a program often must try key values that are not in the dictionary, and it shows how to use the ContainsKey method to test whether a key exists before calling the Add method. The example shows how to enumerate the keys and values in the dictionary and how to enumerate the keys and values alone using the Keys property and the Values property. Finally, the example demonstrates the Remove method.
Imports System
Imports System.Collections.Generic
Public Class Example
Public Shared Sub Main()
' Create a new sorted dictionary of strings, with string
' keys.
Dim openWith As New SortedDictionary(Of String, String)
' Add some elements to the dictionary. There are no
' duplicate keys, but some of the values are duplicates.
openWith.Add("txt", "notepad.exe")
openWith.Add("bmp", "paint.exe")
openWith.Add("dib", "paint.exe")
openWith.Add("rtf", "wordpad.exe")
' The Add method throws an exception if the new key is
' already in the dictionary.
Try
openWith.Add("txt", "winword.exe")
Catch
Console.WriteLine("An element with Key = ""txt"" already exists.")
End Try
' The Item property is the default property, so you
' can omit its name when accessing elements.
Console.WriteLine("For key = ""rtf"", value = {0}.", _
openWith("rtf"))
' The default Item property can be used to change the value
' associated with a key.
openWith("rtf") = "winword.exe"
Console.WriteLine("For key = ""rtf"", value = {0}.", _
openWith("rtf"))
' If a key does not exist, setting the default Item property
' for that key adds a new key/value pair.
openWith("doc") = "winword.exe"
' The default Item property throws an exception if the requested
' key is not in the dictionary.
Try
Console.WriteLine("For key = ""tif"", value = {0}.", _
openWith("tif"))
Catch
Console.WriteLine("Key = ""tif"" is not found.")
End Try
' When a program often has to try keys that turn out not to
' be in the dictionary, TryGetValue can be a more efficient
' way to retrieve values.
Dim value As String = ""
If openWith.TryGetValue("tif", value) Then
Console.WriteLine("For key = ""tif"", value = {0}.", value)
Else
Console.WriteLine("Key = ""tif"" is not found.")
End If
' ContainsKey can be used to test keys before inserting
' them.
If Not openWith.ContainsKey("ht") Then
openWith.Add("ht", "hypertrm.exe")
Console.WriteLine("Value added for key = ""ht"": {0}", _
openWith("ht"))
End If
' When you use foreach to enumerate dictionary elements,
' the elements are retrieved as KeyValuePair objects.
Console.WriteLine()
For Each kvp As KeyValuePair(Of String, String) In openWith
Console.WriteLine("Key = {0}, Value = {1}", _
kvp.Key, kvp.Value)
Next kvp
' To get the values alone, use the Values property.
Dim valueColl _
As SortedDictionary(Of String, String).ValueCollection = _
openWith.Values
' The elements of the ValueCollection are strongly typed
' with the type that was specified for dictionary values.
Console.WriteLine()
For Each s As String In valueColl
Console.WriteLine("Value = {0}", s)
Next s
' To get the keys alone, use the Keys property.
Dim keyColl _
As SortedDictionary(Of String, String).KeyCollection = _
openWith.Keys
' The elements of the KeyCollection are strongly typed
' with the type that was specified for dictionary keys.
Console.WriteLine()
For Each s As String In keyColl
Console.WriteLine("Key = {0}", s)
Next s
' Use the Remove method to remove a key/value pair.
Console.WriteLine(vbLf + "Remove(""doc"")")
openWith.Remove("doc")
If Not openWith.ContainsKey("doc") Then
Console.WriteLine("Key ""doc"" is not found.")
End If
End Sub
End Class
' This code example produces the following output:
'
'An element with Key = "txt" already exists.
'For key = "rtf", value = wordpad.exe.
'For key = "rtf", value = winword.exe.
'Key = "tif" is not found.
'Key = "tif" is not found.
'Value added for key = "ht": hypertrm.exe
'
'Key = bmp, Value = paint.exe
'Key = dib, Value = paint.exe
'Key = doc, Value = winword.exe
'Key = ht, Value = hypertrm.exe
'Key = rtf, Value = winword.exe
'Key = txt, Value = notepad.exe
'
'Value = paint.exe
'Value = paint.exe
'Value = winword.exe
'Value = hypertrm.exe
'Value = winword.exe
'Value = notepad.exe
'
'Key = bmp
'Key = dib
'Key = doc
'Key = ht
'Key = rtf
'Key = txt
'
'Remove("doc")
'Key "doc" is not found.
'
using System;
using System.Collections.Generic;
public class Example
{
public static void Main()
{
// Create a new sorted dictionary of strings, with string
// keys.
SortedDictionary<string, string> openWith =
new SortedDictionary<string, string>();
// Add some elements to the dictionary. There are no
// duplicate keys, but some of the values are duplicates.
openWith.Add("txt", "notepad.exe");
openWith.Add("bmp", "paint.exe");
openWith.Add("dib", "paint.exe");
openWith.Add("rtf", "wordpad.exe");
// The Add method throws an exception if the new key is
// already in the dictionary.
try
{
openWith.Add("txt", "winword.exe");
}
catch (ArgumentException)
{
Console.WriteLine("An element with Key = \"txt\" already exists.");
}
// The Item property is another name for the indexer, so you
// can omit its name when accessing elements.
Console.WriteLine("For key = \"rtf\", value = {0}.",
openWith["rtf"]);
// The indexer can be used to change the value associated
// with a key.
openWith["rtf"] = "winword.exe";
Console.WriteLine("For key = \"rtf\", value = {0}.",
openWith["rtf"]);
// If a key does not exist, setting the indexer for that key
// adds a new key/value pair.
openWith["doc"] = "winword.exe";
// The indexer throws an exception if the requested key is
// not in the dictionary.
try
{
Console.WriteLine("For key = \"tif\", value = {0}.",
openWith["tif"]);
}
catch (KeyNotFoundException)
{
Console.WriteLine("Key = \"tif\" is not found.");
}
// When a program often has to try keys that turn out not to
// be in the dictionary, TryGetValue can be a more efficient
// way to retrieve values.
string value = "";
if (openWith.TryGetValue("tif", out value))
{
Console.WriteLine("For key = \"tif\", value = {0}.", value);
}
else
{
Console.WriteLine("Key = \"tif\" is not found.");
}
// ContainsKey can be used to test keys before inserting
// them.
if (!openWith.ContainsKey("ht"))
{
openWith.Add("ht", "hypertrm.exe");
Console.WriteLine("Value added for key = \"ht\": {0}",
openWith["ht"]);
}
// When you use foreach to enumerate dictionary elements,
// the elements are retrieved as KeyValuePair objects.
Console.WriteLine();
foreach( KeyValuePair<string, string> kvp in openWith )
{
Console.WriteLine("Key = {0}, Value = {1}",
kvp.Key, kvp.Value);
}
// To get the values alone, use the Values property.
SortedDictionary<string, string>.ValueCollection valueColl =
openWith.Values;
// The elements of the ValueCollection are strongly typed
// with the type that was specified for dictionary values.
Console.WriteLine();
foreach( string s in valueColl )
{
Console.WriteLine("Value = {0}", s);
}
// To get the keys alone, use the Keys property.
SortedDictionary<string, string>.KeyCollection keyColl =
openWith.Keys;
// The elements of the KeyCollection are strongly typed
// with the type that was specified for dictionary keys.
Console.WriteLine();
foreach( string s in keyColl )
{
Console.WriteLine("Key = {0}", s);
}
// Use the Remove method to remove a key/value pair.
Console.WriteLine("\nRemove(\"doc\")");
openWith.Remove("doc");
if (!openWith.ContainsKey("doc"))
{
Console.WriteLine("Key \"doc\" is not found.");
}
}
}
/* This code example produces the following output:
An element with Key = "txt" already exists.
For key = "rtf", value = wordpad.exe.
For key = "rtf", value = winword.exe.
Key = "tif" is not found.
Key = "tif" is not found.
Value added for key = "ht": hypertrm.exe
Key = bmp, Value = paint.exe
Key = dib, Value = paint.exe
Key = doc, Value = winword.exe
Key = ht, Value = hypertrm.exe
Key = rtf, Value = winword.exe
Key = txt, Value = notepad.exe
Value = paint.exe
Value = paint.exe
Value = winword.exe
Value = hypertrm.exe
Value = winword.exe
Value = notepad.exe
Key = bmp
Key = dib
Key = doc
Key = ht
Key = rtf
Key = txt
Remove("doc")
Key "doc" is not found.
*/

Version Information
.NET FrameworkSupported in: 4, 3.5, 3.0, 2.0 .NET Framework Client ProfileSupported in: 4, 3.5 SP1

Platforms
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role not supported), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Thread Safety
Public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe. A SortedDictionary<(Of <(TKey, TValue>)>) can support multiple readers concurrently, as long as the collection is not modified. Even so, enumerating through a collection is intrinsically not a thread-safe procedure. To guarantee thread safety during enumeration, you can lock the collection during the entire enumeration. To allow the collection to be accessed by multiple threads for reading and writing, you must implement your own synchronization.

See Also
|
.NET Framework-Klassenbibliothek SortedDictionary<(Of <(TKey, TValue>)>)-Klasse Stellt eine Auflistung von Schlüssel-Wert-Paaren dar, deren Reihenfolge anhand des Schlüssels bestimmt wird.

Vererbungshierarchie
System..::.Object System.Collections.Generic..::.SortedDictionary<(Of <(TKey, TValue>)>)
Namespace:
System.Collections.Generic
Assembly:
System (in System.dll)

Syntax
<SerializableAttribute> _
Public Class SortedDictionary(Of TKey, TValue) _
Implements IDictionary(Of TKey, TValue), ICollection(Of KeyValuePair(Of TKey, TValue)), _
IEnumerable(Of KeyValuePair(Of TKey, TValue)), IDictionary, _
ICollection, IEnumerable
[SerializableAttribute]
public class SortedDictionary<TKey, TValue> : IDictionary<TKey, TValue>,
ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>,
IDictionary, ICollection, IEnumerable
[SerializableAttribute]
generic<typename TKey, typename TValue>
public ref class SortedDictionary : IDictionary<TKey, TValue>,
ICollection<KeyValuePair<TKey, TValue>>, IEnumerable<KeyValuePair<TKey, TValue>>,
IDictionary, ICollection, IEnumerable
[<SerializableAttribute>]
type SortedDictionary<'TKey, 'TValue> =
class
interface IDictionary<'TKey, 'TValue>
interface ICollection<KeyValuePair<'TKey, 'TValue>>
interface IEnumerable<KeyValuePair<'TKey, 'TValue>>
interface IDictionary
interface ICollection
interface IEnumerable
end
Typparameter- TKey
Der Typ der Schlüssel im Wörterbuch.
- TValue
Der Typ der Werte im Wörterbuch.
Der SortedDictionary<(Of <(TKey, TValue>)>)-Typ macht die folgenden Member verfügbar.

Konstruktoren
|
| Name | Beschreibung |
|---|
.gif) | SortedDictionary<(Of <(TKey, TValue>)>)()()() | Initialisiert eine neue, leere Instanz der SortedDictionary<(Of <(TKey, TValue>)>)-Klasse, bei der die IComparer<(Of <(T>)>)-Standardimplementierung für den Typ des Schlüssels verwendet wird. | .gif) | SortedDictionary<(Of <(TKey, TValue>)>)(IComparer<(Of <(TKey>)>)) | Initialisiert eine neue, leere Instanz der SortedDictionary<(Of <(TKey, TValue>)>)-Klasse, bei der die angegebene IComparer<(Of <(T>)>)-Implementierung für den Vergleich von Schlüsseln verwendet wird. | .gif) | SortedDictionary<(Of <(TKey, TValue>)>)(IDictionary<(Of <(TKey, TValue>)>)) | Initialisiert eine neue Instanz der SortedDictionary<(Of <(TKey, TValue>)>)-Klasse, die Elemente enthält, die aus dem angegebenen IDictionary<(Of <(TKey, TValue>)>) kopiert wurden, und bei der die IComparer<(Of <(T>)>)-Standardimplementierung für den Typ des Schlüssels verwendet wird. | .gif) | SortedDictionary<(Of <(TKey, TValue>)>)(IDictionary<(Of <(TKey, TValue>)>), IComparer<(Of <(TKey>)>)) | Initialisiert eine neue Instanz der SortedDictionary<(Of <(TKey, TValue>)>)-Klasse, die Elemente enthält, die aus dem angegebenen IDictionary<(Of <(TKey, TValue>)>) kopiert wurden, und bei der die angegebene IComparer<(Of <(T>)>)-Implementierung für den Vergleich von Schlüsseln verwendet wird. | Zum Seitenanfang

Methoden
|
| Name | Beschreibung |
|---|
.gif) | Add | Fügt dem SortedDictionary<(Of <(TKey, TValue>)>) ein Element mit dem angegebenen Schlüssel und Wert hinzu. | .gif) | Clear | Entfernt alle Elemente aus dem SortedDictionary<(Of <(TKey, TValue>)>). | .gif) | ContainsKey | Ermittelt, ob das SortedDictionary<(Of <(TKey, TValue>)>) ein Element mit dem angegebenen Schlüssel enthält. | .gif) | ContainsValue | Ermittelt, ob das SortedDictionary<(Of <(TKey, TValue>)>) ein Element mit dem angegebenen Wert enthält. | .gif) | CopyTo | Kopiert die Elemente des SortedDictionary<(Of <(TKey, TValue>)>) in das angegebene Array von KeyValuePair<(Of <(TKey, TValue>)>)-Strukturen, wobei am angegebenen Index begonnen wird. | .gif) | Equals(Object) | Bestimmt, ob das angegebene Object und das aktuelle Object gleich sind. (Von Object geerbt.) | .gif) | Finalize | Gibt einem Objekt Gelegenheit zu dem Versuch, Ressourcen freizugeben und andere Bereinigungen durchzuführen, bevor es von der automatische Speicherbereinigung freigegeben wird. (Von Object geerbt.) | .gif) | GetEnumerator | Gibt einen Enumerator zurück, der das SortedDictionary<(Of <(TKey, TValue>)>) durchläuft. | .gif) | GetHashCode | Fungiert als Hashfunktion für einen bestimmten Typ. (Von Object geerbt.) | .gif) | GetType | Ruft den Type der aktuellen Instanz ab. (Von Object geerbt.) | .gif) | MemberwiseClone | Erstellt eine flache Kopie des aktuellen Object. (Von Object geerbt.) | .gif) | Remove | Entfernt das Element mit dem angegebenen Schlüssel aus dem SortedDictionary<(Of <(TKey, TValue>)>). | .gif) | ToString | Gibt eine Zeichenfolge zurück, die das aktuelle Objekt darstellt. (Von Object geerbt.) | .gif) | TryGetValue | Ruft den dem angegebenen Schlüssel zugeordneten Wert ab. | Zum Seitenanfang

Erweiterungsmethoden
|
| Name | Beschreibung |
|---|
.gif) | Aggregate<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), KeyValuePair<(Of <(TKey, TValue>)>), KeyValuePair<(Of <(TKey, TValue>)>)>)>)) | Überladen. Wendet eine Akkumulatorfunktion auf eine Sequenz an. (Durch Enumerable definiert.) | .gif) | Aggregate<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TAccumulate>)>)(TAccumulate, Func<(Of <(TAccumulate, KeyValuePair<(Of <(TKey, TValue>)>), TAccumulate>)>)) | Überladen. Wendet eine Akkumulatorfunktion auf eine Sequenz an. Der angegebene Startwert wird als erster Akkumulatorwert verwendet. (Durch Enumerable definiert.) | .gif) | Aggregate<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TAccumulate, TResult>)>)(TAccumulate, Func<(Of <(TAccumulate, KeyValuePair<(Of <(TKey, TValue>)>), TAccumulate>)>), Func<(Of <(TAccumulate, TResult>)>)) | Überladen. Wendet eine Akkumulatorfunktion auf eine Sequenz an. Der angegebene Startwert wird als erster Akkumulatorwert verwendet, und der Ergebniswert wird mit der angegebenen Funktion ausgewählt. (Durch Enumerable definiert.) | .gif) | All<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>) | Bestimmt, ob alle Elemente einer Sequenz eine Bedingung erfüllen. (Durch Enumerable definiert.) | .gif) | Any<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)()()() | Überladen. Bestimmt, ob eine Sequenz Elemente enthält. (Durch Enumerable definiert.) | .gif) | Any<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Boolean>)>)) | Überladen. Bestimmt, ob ein Element einer Sequenz eine Bedingung erfüllt. (Durch Enumerable definiert.) | .gif) | AsEnumerable<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>) | Gibt die Eingabe als IEnumerable<(Of <(T>)>) zurück. (Durch Enumerable definiert.) | .gif) | AsParallel()()() | Überladen. Ermöglicht die Parallelisierung einer Abfrage. (Durch ParallelEnumerable definiert.) | .gif) | AsParallel<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)()()() | Überladen. Ermöglicht die Parallelisierung einer Abfrage. (Durch ParallelEnumerable definiert.) | .gif) | AsQueryable()()() | Überladen. Konvertiert einen IEnumerable in einen IQueryable. (Durch Queryable definiert.) | .gif) | AsQueryable<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)()()() | Überladen. Konvertiert ein generisches IEnumerable<(Of <(T>)>) in ein generisches IQueryable<(Of <(T>)>). (Durch Queryable definiert.) | .gif) | Average<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Decimal>)>)>)>)) | Überladen. Berechnet den Durchschnitt einer Sequenz von Decimal-Werten, die NULL zulassen und die durch den Aufruf einer Transformationsfunktion für jedes Element der Eingabesequenz ermittelt werden. (Durch Enumerable definiert.) | .gif) | Average<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Double>)>)>)>)) | Überladen. Berechnet den Durchschnitt einer Sequenz von Double-Werten, die NULL zulassen und die durch den Aufruf einer Transformationsfunktion für jedes Element der Eingabesequenz ermittelt werden. (Durch Enumerable definiert.) | .gif) | Average<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Int32>)>)) | Überladen. Berechnet den Durchschnitt einer Sequenz von Int32-Werten, die durch den Aufruf einer Transformationsfunktion für jedes Element der Eingabesequenz ermittelt werden. (Durch Enumerable definiert.) | .gif) | Average<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Int32>)>)>)>)) | Überladen. Berechnet den Durchschnitt einer Sequenz von Int32-Werten, die NULL zulassen, die durch den Aufruf einer Transformationsfunktion für jedes Element der Eingabesequenz ermittelt wird. (Durch Enumerable definiert.) | .gif) | Average<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Int64>)>)) | Überladen. Berechnet den Durchschnitt einer Sequenz von Int64-Werten, die durch den Aufruf einer Transformationsfunktion für jedes Element der Eingabesequenz ermittelt werden. (Durch Enumerable definiert.) | .gif) | Average<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Int64>)>)>)>)) | Überladen. Berechnet den Durchschnitt einer Sequenz von Int64-Werten, die NULL zulassen und die durch den Aufruf einer Transformationsfunktion für jedes Element der Eingabesequenz ermittelt werden. (Durch Enumerable definiert.) | .gif) | Average<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Single>)>)) | Überladen. Berechnet den Durchschnitt einer Sequenz von Single-Werten, die durch den Aufruf einer Transformationsfunktion für jedes Element der Eingabesequenz ermittelt werden. (Durch Enumerable definiert.) | .gif) | Average<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Single>)>)>)>)) | Überladen. Berechnet den Durchschnitt einer Sequenz von Single-Werten, die NULL zulassen und die durch den Aufruf einer Transformationsfunktion für jedes Element der Eingabesequenz ermittelt werden. (Durch Enumerable definiert.) | .gif) | Average<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Double>)>)) | Überladen. Berechnet den Durchschnitt einer Sequenz von Double-Werten, die durch den Aufruf einer Transformationsfunktion für jedes Element der Eingabesequenz ermittelt werden. (Durch Enumerable definiert.) | .gif) | Average<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Decimal>)>)) | Überladen. Berechnet den Durchschnitt einer Sequenz von Decimal-Werten, die durch den Aufruf einer Transformationsfunktion für jedes Element der Eingabesequenz ermittelt werden. (Durch Enumerable definiert.) | .gif) | Cast<(Of <(TResult>)>) | Konvertiert die Elemente eines IEnumerable in den angegebenen Typ. (Durch Enumerable definiert.) | .gif) | Concat<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>) | Verkettet zwei Sequenzen. (Durch Enumerable definiert.) | .gif) | Contains<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(KeyValuePair<(Of <(TKey, TValue>)>)) | Überladen. Bestimmt mithilfe des Standardgleichheitsvergleichs, ob eine Sequenz ein angegebenes Element enthält. (Durch Enumerable definiert.) | .gif) | Contains<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(KeyValuePair<(Of <(TKey, TValue>)>), IEqualityComparer<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)) | Überladen. Bestimmt mithilfe eines angegebenen IEqualityComparer<(Of <(T>)>), ob eine Sequenz ein angegebenes Element enthält. (Durch Enumerable definiert.) | .gif) | Count<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)()()() | Überladen. Gibt die Anzahl der Elemente in einer Sequenz zurück. (Durch Enumerable definiert.) | .gif) | Count<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Boolean>)>)) | Überladen. Gibt eine Zahl zurück, die die Anzahl der Elemente in der angegebenen Sequenz angibt, die eine Bedingung erfüllen. (Durch Enumerable definiert.) | .gif) | DefaultIfEmpty<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)()()() | Überladen. Gibt die Elemente der angegebenen Sequenz oder den Standardwert des Typparameters in einer Singletonauflistung zurück, wenn die Sequenz leer ist. (Durch Enumerable definiert.) | .gif) | DefaultIfEmpty<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(KeyValuePair<(Of <(TKey, TValue>)>)) | Überladen. Gibt die Elemente der angegebenen Sequenz zurück, oder den angegebenen Wert in einer Singletonauflistung, wenn die Sequenz leer ist. (Durch Enumerable definiert.) | .gif) | Distinct<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)()()() | Überladen. Gibt mithilfe des Standardgleichheitsvergleichs zum Vergleichen von Werten unterschiedliche Elemente aus einer Sequenz zurück. (Durch Enumerable definiert.) | .gif) | Distinct<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(IEqualityComparer<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)) | Überladen. Gibt mithilfe eines angegebenen IEqualityComparer<(Of <(T>)>) zum Vergleichen von Werten unterschiedliche Elemente aus einer Sequenz zurück. (Durch Enumerable definiert.) | .gif) | ElementAt<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>) | Gibt das Element an einem angegebenen Index in einer Sequenz zurück. (Durch Enumerable definiert.) | .gif) | ElementAtOrDefault<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>) | Gibt das Element an einem angegebenen Index in einer Sequenz oder einen Standardwert zurück, wenn der Index außerhalb des gültigen Bereichs liegt. (Durch Enumerable definiert.) | .gif) | Except<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(IEnumerable<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)) | Überladen. Erzeugt die Differenzmenge zweier Sequenzen mithilfe des Standardgleichheitsvergleichs zum Vergleichen von Werten. (Durch Enumerable definiert.) | .gif) | Except<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(IEnumerable<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>), IEqualityComparer<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)) | Überladen. Erzeugt mithilfe des angegebenen IEqualityComparer<(Of <(T>)>) zum Vergleichen von Werten die Differenzmenge zweier Sequenzen. (Durch Enumerable definiert.) | .gif) | First<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)()()() | Überladen. Gibt das erste Element einer Sequenz zurück. (Durch Enumerable definiert.) | .gif) | First<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Boolean>)>)) | Überladen. Gibt das erste Element in einer Sequenz zurück, das eine angegebene Bedingung erfüllt. (Durch Enumerable definiert.) | .gif) | FirstOrDefault<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)()()() | Überladen. Gibt das erste Element einer Sequenz zurück, oder einen Standardwert, wenn die Sequenz keine Elemente enthält. (Durch Enumerable definiert.) | .gif) | FirstOrDefault<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Boolean>)>)) | Überladen. Gibt das erste Element der Sequenz zurück, das eine Bedingung erfüllt, oder einen Standardwert, wenn ein solches Element nicht gefunden wird. (Durch Enumerable definiert.) | .gif) | GroupBy<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>)) | Überladen. Gruppiert die Elemente einer Sequenz entsprechend einer angegebenen Schlüsselauswahlfunktion. (Durch Enumerable definiert.) | .gif) | GroupBy<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), IEqualityComparer<(Of <(TKey>)>)) | Überladen. Gruppiert die Elemente einer Sequenz entsprechend einer angegebenen Schlüsselauswahlfunktion und vergleicht die Schlüssel mithilfe eines angegebenen Vergleichs. (Durch Enumerable definiert.) | .gif) | GroupBy<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey, TElement>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TElement>)>)) | Überladen. Gruppiert die Elemente einer Sequenz entsprechend einer angegebenen Schlüsselauswahlfunktion und projiziert die Elemente für jede Gruppe mithilfe einer angegebenen Funktion. (Durch Enumerable definiert.) | .gif) | GroupBy<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey, TResult>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), Func<(Of <(TKey, IEnumerable<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>), TResult>)>)) | Überladen. Gruppiert die Elemente einer Sequenz entsprechend einer angegebenen Schlüsselauswahlfunktion und erstellt aus jeder Gruppe und ihrem Schlüssel einen Ergebniswert. (Durch Enumerable definiert.) | .gif) | GroupBy<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey, TElement>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TElement>)>), IEqualityComparer<(Of <(TKey>)>)) | Überladen. Gruppiert die Elemente einer Sequenz entsprechend einer Schlüsselauswahlfunktion. Die Schlüssel werden mithilfe eines Vergleichs verglichen, und die Elemente jeder Gruppe werden mithilfe einer angegebenen Funktion projiziert. (Durch Enumerable definiert.) | .gif) | GroupBy<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey, TResult>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), Func<(Of <(TKey, IEnumerable<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>), TResult>)>), IEqualityComparer<(Of <(TKey>)>)) | Überladen. Gruppiert die Elemente einer Sequenz entsprechend einer angegebenen Schlüsselauswahlfunktion und erstellt aus jeder Gruppe und ihrem Schlüssel einen Ergebniswert. Die Schlüssel werden mithilfe eines angegebenen Vergleichs verglichen. (Durch Enumerable definiert.) | .gif) | GroupBy<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey, TElement, TResult>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TElement>)>), Func<(Of <(TKey, IEnumerable<(Of <(TElement>)>), TResult>)>)) | Überladen. Gruppiert die Elemente einer Sequenz entsprechend einer angegebenen Schlüsselauswahlfunktion und erstellt aus jeder Gruppe und ihrem Schlüssel einen Ergebniswert. Die Elemente jeder Gruppe werden mithilfe einer angegebenen Funktion projiziert. (Durch Enumerable definiert.) | .gif) | GroupBy<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey, TElement, TResult>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TElement>)>), Func<(Of <(TKey, IEnumerable<(Of <(TElement>)>), TResult>)>), IEqualityComparer<(Of <(TKey>)>)) | Überladen. Gruppiert die Elemente einer Sequenz entsprechend einer angegebenen Schlüsselauswahlfunktion und erstellt aus jeder Gruppe und ihrem Schlüssel einen Ergebniswert. Schlüsselwerte werden mithilfe eines angegebenen Vergleichs verglichen, und die Elemente jeder Gruppe werden mithilfe einer angegebenen Funktion projiziert. (Durch Enumerable definiert.) | .gif) | GroupJoin<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TInner, TKey, TResult>)>)(IEnumerable<(Of <(TInner>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), Func<(Of <(TInner, TKey>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), IEnumerable<(Of <(TInner>)>), TResult>)>)) | Überladen. Korreliert die Elemente von zwei Sequenzen anhand der Gleichheit der Schlüssel und gruppiert die Ergebnisse. Schlüssel werden mithilfe des Standardgleichheitsvergleichs verglichen. (Durch Enumerable definiert.) | .gif) | GroupJoin<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TInner, TKey, TResult>)>)(IEnumerable<(Of <(TInner>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), Func<(Of <(TInner, TKey>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), IEnumerable<(Of <(TInner>)>), TResult>)>), IEqualityComparer<(Of <(TKey>)>)) | Überladen. Korreliert die Elemente von zwei Sequenzen anhand der Gleichheit der Schlüssel und gruppiert die Ergebnisse. Schlüssel werden mithilfe eines angegebenen IEqualityComparer<(Of <(T>)>) verglichen. (Durch Enumerable definiert.) | .gif) | Intersect<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(IEnumerable<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)) | Überladen. Erzeugt die Schnittmenge zweier Sequenzen mithilfe des Standardgleichheitsvergleichs zum Vergleichen von Werten. (Durch Enumerable definiert.) | .gif) | Intersect<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(IEnumerable<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>), IEqualityComparer<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)) | Überladen. Erzeugt mithilfe des angegebenen IEqualityComparer<(Of <(T>)>) zum Vergleichen von Werten die Schnittmenge von zwei Sequenzen. (Durch Enumerable definiert.) | .gif) | Join<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TInner, TKey, TResult>)>)(IEnumerable<(Of <(TInner>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), Func<(Of <(TInner, TKey>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TInner, TResult>)>)) | Überladen. Korreliert die Elemente von zwei Sequenzen auf der Grundlage von übereinstimmenden Schlüsseln. Schlüssel werden mithilfe des Standardgleichheitsvergleichs verglichen. (Durch Enumerable definiert.) | .gif) | Join<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TInner, TKey, TResult>)>)(IEnumerable<(Of <(TInner>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), Func<(Of <(TInner, TKey>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TInner, TResult>)>), IEqualityComparer<(Of <(TKey>)>)) | Überladen. Korreliert die Elemente von zwei Sequenzen auf der Grundlage von übereinstimmenden Schlüsseln. Schlüssel werden mithilfe eines angegebenen IEqualityComparer<(Of <(T>)>) verglichen. (Durch Enumerable definiert.) | .gif) | Last<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)()()() | Überladen. Gibt das letzte Element einer Sequenz zurück. (Durch Enumerable definiert.) | .gif) | Last<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Boolean>)>)) | Überladen. Gibt das letzte Element einer Sequenz zurück, das eine angegebene Bedingung erfüllt. (Durch Enumerable definiert.) | .gif) | LastOrDefault<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)()()() | Überladen. Gibt das letzte Element einer Sequenz zurück, oder einen Standardwert, wenn die Sequenz keine Elemente enthält. (Durch Enumerable definiert.) | .gif) | LastOrDefault<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Boolean>)>)) | Überladen. Gibt das letzte Element einer Sequenz zurück, das eine Bedingung erfüllt, oder einen Standardwert, wenn ein solches Element nicht gefunden wird. (Durch Enumerable definiert.) | .gif) | LongCount<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)()()() | Überladen. Gibt ein Int64 zurück, das die Gesamtanzahl der Elemente in einer Sequenz darstellt. (Durch Enumerable definiert.) | .gif) | LongCount<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Boolean>)>)) | Überladen. Gibt ein Int64 zurück, das die Anzahl der Elemente in einer Sequenz darstellt, die eine Bedingung erfüllen. (Durch Enumerable definiert.) | .gif) | Max<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)()()() | Überladen. Gibt den Höchstwert in einer generischen Sequenz zurück. (Durch Enumerable definiert.) | .gif) | Max<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Decimal>)>)>)>)) | Überladen. Ruft für jedes Element einer Sequenz eine Transformationsfunktion auf und gibt den maximalen Decimal-Wert zurück, der NULL-Werte zulässt. (Durch Enumerable definiert.) | .gif) | Max<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Double>)>)>)>)) | Überladen. Ruft für jedes Element einer Sequenz eine Transformationsfunktion auf und gibt den maximalen Double-Wert zurück, der NULL-Werte zulässt. (Durch Enumerable definiert.) | .gif) | Max<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Int32>)>)) | Überladen. Ruft für jedes Element einer Sequenz eine Transformationsfunktion auf und gibt den maximalen Int32-Wert zurück. (Durch Enumerable definiert.) | .gif) | Max<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Int32>)>)>)>)) | Überladen. Ruft für jedes Element einer Sequenz eine Transformationsfunktion auf und gibt den maximalen Int32-Wert zurück, der NULL-Werte zulässt. (Durch Enumerable definiert.) | .gif) | Max<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Int64>)>)) | Überladen. Ruft für jedes Element einer Sequenz eine Transformationsfunktion auf und gibt den maximalen Int64-Wert zurück. (Durch Enumerable definiert.) | .gif) | Max<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Int64>)>)>)>)) | Überladen. Ruft für jedes Element einer Sequenz eine Transformationsfunktion auf und gibt den maximalen Int64-Wert zurück, der NULL-Werte zulässt. (Durch Enumerable definiert.) | .gif) | Max<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Single>)>)) | Überladen. Ruft für jedes Element einer Sequenz eine Transformationsfunktion auf und gibt den maximalen Single-Wert zurück. (Durch Enumerable definiert.) | .gif) | Max<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Single>)>)>)>)) | Überladen. Ruft für jedes Element einer Sequenz eine Transformationsfunktion auf und gibt den maximalen Single-Wert zurück, der NULL-Werte zulässt. (Durch Enumerable definiert.) | .gif) | Max<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Double>)>)) | Überladen. Ruft für jedes Element einer Sequenz eine Transformationsfunktion auf und gibt den maximalen Double-Wert zurück. (Durch Enumerable definiert.) | .gif) | Max<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Decimal>)>)) | Überladen. Ruft für jedes Element einer Sequenz eine Transformationsfunktion auf und gibt den maximalen Decimal-Wert zurück. (Durch Enumerable definiert.) | .gif) | Max<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TResult>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TResult>)>)) | Überladen. Ruft für jedes Element einer generischen Sequenz eine Transformationsfunktion auf und gibt den höchsten Ergebniswert zurück. (Durch Enumerable definiert.) | .gif) | Min<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)()()() | Überladen. Gibt den Mindestwert in einer generischen Sequenz zurück. (Durch Enumerable definiert.) | .gif) | Min<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Decimal>)>)>)>)) | Überladen. Ruft für jedes Element einer Sequenz eine Transformationsfunktion auf und gibt den minimalen Decimal-Wert zurück, der NULL-Werte zulässt. (Durch Enumerable definiert.) | .gif) | Min<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Double>)>)>)>)) | Überladen. Ruft für jedes Element einer Sequenz eine Transformationsfunktion auf und gibt den minimalen Double-Wert zurück, der NULL-Werte zulässt. (Durch Enumerable definiert.) | .gif) | Min<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Int32>)>)) | Überladen. Ruft für jedes Element einer Sequenz eine Transformationsfunktion auf und gibt den minimalen Int32-Wert zurück. (Durch Enumerable definiert.) | .gif) | Min<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Int32>)>)>)>)) | Überladen. Ruft für jedes Element einer Sequenz eine Transformationsfunktion auf und gibt den minimalen Int32-Wert zurück, der NULL-Werte zulässt. (Durch Enumerable definiert.) | .gif) | Min<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Int64>)>)) | Überladen. Ruft für jedes Element einer Sequenz eine Transformationsfunktion auf und gibt den minimalen Int64-Wert zurück. (Durch Enumerable definiert.) | .gif) | Min<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Int64>)>)>)>)) | Überladen. Ruft für jedes Element einer Sequenz eine Transformationsfunktion auf und gibt den minimalen Int64-Wert zurück, der NULL-Werte zulässt. (Durch Enumerable definiert.) | .gif) | Min<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Single>)>)) | Überladen. Ruft für jedes Element einer Sequenz eine Transformationsfunktion auf und gibt den minimalen Single-Wert zurück. (Durch Enumerable definiert.) | .gif) | Min<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Single>)>)>)>)) | Überladen. Ruft für jedes Element einer Sequenz eine Transformationsfunktion auf und gibt den minimalen Single-Wert zurück, der NULL-Werte zulässt. (Durch Enumerable definiert.) | .gif) | Min<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Double>)>)) | Überladen. Ruft für jedes Element einer Sequenz eine Transformationsfunktion auf und gibt den minimalen Double-Wert zurück. (Durch Enumerable definiert.) | .gif) | Min<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Decimal>)>)) | Überladen. Ruft für jedes Element einer Sequenz eine Transformationsfunktion auf und gibt den minimalen Decimal-Wert zurück. (Durch Enumerable definiert.) | .gif) | Min<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TResult>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TResult>)>)) | Überladen. Ruft für jedes Element einer generischen Sequenz eine Transformationsfunktion auf und gibt den niedrigsten Ergebniswert zurück. (Durch Enumerable definiert.) | .gif) | OfType<(Of <(TResult>)>) | Filtert die Elemente eines IEnumerable anhand eines angegebenen Typs. (Durch Enumerable definiert.) | .gif) | OrderBy<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>)) | Überladen. Sortiert die Elemente einer Sequenz in aufsteigender Reihenfolge nach einem Schlüssel. (Durch Enumerable definiert.) | .gif) | OrderBy<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), IComparer<(Of <(TKey>)>)) | Überladen. Sortiert die Elemente einer Sequenz mithilfe eines angegebenen Vergleichs in aufsteigender Reihenfolge. (Durch Enumerable definiert.) | .gif) | OrderByDescending<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>)) | Überladen. Sortiert die Elemente einer Sequenz in absteigender Reihenfolge nach einem Schlüssel. (Durch Enumerable definiert.) | .gif) | OrderByDescending<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), IComparer<(Of <(TKey>)>)) | Überladen. Sortiert die Elemente einer Sequenz mithilfe eines angegebenen Vergleichs in absteigender Reihenfolge. (Durch Enumerable definiert.) | .gif) | Reverse<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>) | Kehrt die Reihenfolge der Elemente in einer Sequenz um. (Durch Enumerable definiert.) | .gif) | Select<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TResult>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TResult>)>)) | Überladen. Projiziert jedes Element einer Sequenz in ein neues Format. (Durch Enumerable definiert.) | .gif) | Select<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TResult>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Int32, TResult>)>)) | Überladen. Projiziert jedes Element einer Sequenz in ein neues Format, indem der Index des Elements integriert wird. (Durch Enumerable definiert.) | .gif) | SelectMany<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TResult>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), IEnumerable<(Of <(TResult>)>)>)>)) | Überladen. Projiziert jedes Element einer Sequenz in ein IEnumerable<(Of <(T>)>) und fasst die resultierenden Sequenzen in einer einzigen Sequenz zusammen. (Durch Enumerable definiert.) | .gif) | SelectMany<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TResult>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Int32, IEnumerable<(Of <(TResult>)>)>)>)) | Überladen. Projiziert jedes Element einer Sequenz in ein IEnumerable<(Of <(T>)>) und fasst die resultierenden Sequenzen zu einer einzigen Sequenz zusammen. Der Index jedes Quellelements wird im projizierten Format des jeweiligen Elements verwendet. (Durch Enumerable definiert.) | .gif) | SelectMany<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TCollection, TResult>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Int32, IEnumerable<(Of <(TCollection>)>)>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TCollection, TResult>)>)) | Überladen. Projiziert jedes Element einer Sequenz in ein IEnumerable<(Of <(T>)>), fasst die resultierenden Sequenzen zu einer einzigen Sequenz zusammen und ruft für jedes Element in dieser Sequenz eine Ergebnisauswahlfunktion auf. Der Index jedes Quellelements wird im projizierten Zwischenformat des jeweiligen Elements verwendet. (Durch Enumerable definiert.) | .gif) | SelectMany<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TCollection, TResult>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), IEnumerable<(Of <(TCollection>)>)>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TCollection, TResult>)>)) | Überladen. Projiziert jedes Element einer Sequenz in ein IEnumerable<(Of <(T>)>), fasst die resultierenden Sequenzen zu einer einzigen Sequenz zusammen und ruft für jedes Element in dieser Sequenz eine Ergebnisauswahlfunktion auf. (Durch Enumerable definiert.) | .gif) | SequenceEqual<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(IEnumerable<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)) | Überladen. Bestimmt, ob zwei Sequenzen gleich sind, indem die Elemente mithilfe des Standardgleichheitsvergleichs für ihren Typ verglichen werden. (Durch Enumerable definiert.) | .gif) | SequenceEqual<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(IEnumerable<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>), IEqualityComparer<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)) | Überladen. Bestimmt, ob zwei Sequenzen gleich sind, indem ihre Elemente mithilfe eines angegebenen IEqualityComparer<(Of <(T>)>) verglichen werden. (Durch Enumerable definiert.) | .gif) | Single<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)()()() | Überladen. Gibt das einzige Element einer Sequenz zurück und löst eine Ausnahme aus, wenn nicht genau ein Element in der Sequenz vorhanden ist. (Durch Enumerable definiert.) | .gif) | Single<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Boolean>)>)) | Überladen. Gibt das einzige Element einer Sequenz zurück, das eine angegebene Bedingung erfüllt, und löst eine Ausnahme aus, wenn mehrere solche Elemente vorhanden sind. (Durch Enumerable definiert.) | .gif) | SingleOrDefault<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)()()() | Überladen. Gibt das einzige Element einer Sequenz zurück oder einen Standardwert, wenn die Sequenz leer ist. Diese Methode löst eine Ausnahme aus, wenn mehrere Elemente in der Sequenz vorhanden sind. (Durch Enumerable definiert.) | .gif) | SingleOrDefault<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Boolean>)>)) | Überladen. Gibt das einzige Element einer Sequenz zurück, das eine angegebene Bedingung erfüllt, oder einen Standardwert, wenn kein solches Element vorhanden ist. Diese Methode löst eine Ausnahme aus, wenn mehrere Elemente die Bedingung erfüllen. (Durch Enumerable definiert.) | .gif) | Skip<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>) | Umgeht eine festgelegte Anzahl von Elementen in einer Sequenz und gibt dann die übrigen Elemente zurück. (Durch Enumerable definiert.) | .gif) | SkipWhile<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Boolean>)>)) | Überladen. Umgeht Elemente in einer Sequenz, solange eine angegebene Bedingung true ist, und gibt dann die übrigen Elemente zurück. (Durch Enumerable definiert.) | .gif) | SkipWhile<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Int32, Boolean>)>)) | Überladen. Umgeht Elemente in einer Sequenz, solange eine angegebene Bedingung true ist, und gibt dann die übrigen Elemente zurück. In der Logik der Prädikatfunktion wird der Index des Elements verwendet. (Durch Enumerable definiert.) | .gif) | Sum<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Decimal>)>)>)>)) | Überladen. Berechnet die Summe einer Sequenz von Decimal-Werten, die NULL zulassen und die durch den Aufruf einer Transformationsfunktion für jedes Element der Eingabesequenz ermittelt werden. (Durch Enumerable definiert.) | .gif) | Sum<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Double>)>)>)>)) | Überladen. Berechnet die Summe einer Sequenz von Double-Werten, die NULL zulassen und die durch den Aufruf einer Transformationsfunktion für jedes Element der Eingabesequenz ermittelt werden. (Durch Enumerable definiert.) | .gif) | Sum<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Int32>)>)) | Überladen. Berechnet die Summe einer Sequenz von Int32-Werten, die durch den Aufruf einer Transformationsfunktion für jedes Element der Eingabesequenz ermittelt werden. (Durch Enumerable definiert.) | .gif) | Sum<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Int32>)>)>)>)) | Überladen. Berechnet die Summe einer Sequenz von Int32-Werten, die NULL zulassen und die durch den Aufruf einer Transformationsfunktion für jedes Element der Eingabesequenz ermittelt werden. (Durch Enumerable definiert.) | .gif) | Sum<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Int64>)>)) | Überladen. Berechnet die Summe einer Sequenz von Int64-Werten, die durch den Aufruf einer Transformationsfunktion für jedes Element der Eingabesequenz ermittelt werden. (Durch Enumerable definiert.) | .gif) | Sum<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Int64>)>)>)>)) | Überladen. Berechnet die Summe einer Sequenz von Int64-Werten, die NULL zulassen und die durch den Aufruf einer Transformationsfunktion für jedes Element der Eingabesequenz ermittelt werden. (Durch Enumerable definiert.) | .gif) | Sum<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Single>)>)) | Überladen. Berechnet die Summe einer Sequenz von Single-Werten, die durch den Aufruf einer Transformationsfunktion für jedes Element der Eingabesequenz ermittelt werden. (Durch Enumerable definiert.) | .gif) | Sum<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Nullable<(Of <(Single>)>)>)>)) | Überladen. Berechnet die Summe einer Sequenz von Single-Werten, die NULL zulassen und die durch den Aufruf einer Transformationsfunktion für jedes Element der Eingabesequenz ermittelt werden. (Durch Enumerable definiert.) | .gif) | Sum<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Double>)>)) | Überladen. Berechnet die Summe einer Sequenz von Double-Werten, die durch den Aufruf einer Transformationsfunktion für jedes Element der Eingabesequenz ermittelt werden. (Durch Enumerable definiert.) | .gif) | Sum<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Decimal>)>)) | Überladen. Berechnet die Summe einer Sequenz von Decimal-Werten, die durch den Aufruf einer Transformationsfunktion für jedes Element der Eingabesequenz ermittelt werden. (Durch Enumerable definiert.) | .gif) | Take<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>) | Gibt eine angegebene Anzahl von zusammenhängenden Elementen ab dem Anfang einer Sequenz zurück. (Durch Enumerable definiert.) | .gif) | TakeWhile<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Boolean>)>)) | Überladen. Gibt Elemente aus einer Sequenz zurück, solange eine angegebene Bedingung true ist. (Durch Enumerable definiert.) | .gif) | TakeWhile<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Int32, Boolean>)>)) | Überladen. Gibt Elemente aus einer Sequenz zurück, solange eine angegebene Bedingung true ist. In der Logik der Prädikatfunktion wird der Index des Elements verwendet. (Durch Enumerable definiert.) | .gif) | ToArray<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>) | Erstellt ein Array aus einem IEnumerable<(Of <(T>)>). (Durch Enumerable definiert.) | .gif) | ToDictionary<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>)) | Überladen. Erstellt ein Dictionary<(Of <(TKey, TValue>)>) aus einem IEnumerable<(Of <(T>)>) gemäß einer angegebenen Schlüsselauswahlfunktion. (Durch Enumerable definiert.) | .gif) | ToDictionary<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), IEqualityComparer<(Of <(TKey>)>)) | Überladen. Erstellt ein Dictionary<(Of <(TKey, TValue>)>) aus einem IEnumerable<(Of <(T>)>) gemäß einer angegebenen Schlüsselauswahlfunktion und eines angegebenen Schlüsselvergleichs. (Durch Enumerable definiert.) | .gif) | ToDictionary<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey, TElement>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TElement>)>)) | Überladen. Erstellt ein Dictionary<(Of <(TKey, TValue>)>) aus einem IEnumerable<(Of <(T>)>) entsprechend der angegebenen Schlüsselauswahlfunktion und Elementauswahlfunktion. (Durch Enumerable definiert.) | .gif) | ToDictionary<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey, TElement>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TElement>)>), IEqualityComparer<(Of <(TKey>)>)) | Überladen. Erstellt ein Dictionary<(Of <(TKey, TValue>)>) aus einem IEnumerable<(Of <(T>)>) entsprechend einer angegebenen Schlüsselauswahlfunktion, einem Vergleich und einer Elementauswahlfunktion. (Durch Enumerable definiert.) | .gif) | ToList<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>) | Erstellt eine List<(Of <(T>)>) aus einem IEnumerable<(Of <(T>)>). (Durch Enumerable definiert.) | .gif) | ToLookup<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>)) | Überladen. Erstellt ein Lookup<(Of <(TKey, TElement>)>) aus einem IEnumerable<(Of <(T>)>) gemäß einer angegebenen Schlüsselauswahlfunktion. (Durch Enumerable definiert.) | .gif) | ToLookup<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), IEqualityComparer<(Of <(TKey>)>)) | Überladen. Erstellt ein Lookup<(Of <(TKey, TElement>)>) aus einem IEnumerable<(Of <(T>)>) gemäß einer angegebenen Schlüsselauswahlfunktion und eines angegebenen Schlüsselvergleichs. (Durch Enumerable definiert.) | .gif) | ToLookup<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey, TElement>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TElement>)>)) | Überladen. Erstellt ein Lookup<(Of <(TKey, TElement>)>) aus einem IEnumerable<(Of <(T>)>) entsprechend der angegebenen Schlüsselauswahlfunktion und Elementauswahlfunktion. (Durch Enumerable definiert.) | .gif) | ToLookup<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey, TElement>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TKey>)>), Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TElement>)>), IEqualityComparer<(Of <(TKey>)>)) | Überladen. Erstellt ein Lookup<(Of <(TKey, TElement>)>) aus einem IEnumerable<(Of <(T>)>) entsprechend einer angegebenen Schlüsselauswahlfunktion, einem Vergleich und einer Elementauswahlfunktion. (Durch Enumerable definiert.) | .gif) | Union<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(IEnumerable<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)) | Überladen. Erzeugt die Vereinigungsmenge von zwei Sequenzen mithilfe des Standardgleichheitsvergleichs. (Durch Enumerable definiert.) | .gif) | Union<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(IEnumerable<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>), IEqualityComparer<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)) | Überladen. Erzeugt mithilfe eines angegebenen IEqualityComparer<(Of <(T>)>) die Vereinigungsmenge von zwei Sequenzen. (Durch Enumerable definiert.) | .gif) | Where<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Boolean>)>)) | Überladen. Filtert eine Sequenz von Werten nach einem Prädikat. (Durch Enumerable definiert.) | .gif) | Where<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)(Func<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), Int32, Boolean>)>)) | Überladen. Filtert eine Sequenz von Werten nach einem Prädikat. In der Logik der Prädikatfunktion wird der Index der einzelnen Elemente verwendet. (Durch Enumerable definiert.) | .gif) | Zip<(Of <(KeyValuePair<(Of <(TKey, TValue>)>), TSecond, TResult>)>) | Führt zwei Sequenzen mit der angegebenen Prädikatfunktion zusammen. (Durch Enumerable definiert.) | Zum Seitenanfang

Explizite Schnittstellenimplementierungen
|
| Name | Beschreibung |
|---|
.gif) .gif) | ICollection<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)..::.Add | Fügt der ICollection<(Of <(T>)>) ein Element hinzu. | .gif) .gif) | ICollection<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)..::.Contains | Ermittelt, ob die ICollection<(Of <(T>)>) einen bestimmten Schlüssel und Wert enthält. | .gif) .gif) | ICollection..::.CopyTo | Kopiert die Elemente der ICollection<(Of <(T>)>) in ein Array, wobei am angegebenen Arrayindex begonnen wird. | .gif) .gif) | ICollection<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)..::.IsReadOnly | Ruft einen Wert ab, der angibt, ob die ICollection<(Of <(T>)>) schreibgeschützt ist. | .gif) .gif) | ICollection..::.IsSynchronized | Ruft einen Wert ab, der angibt, ob der Zugriff auf ICollection synchronisiert (threadsicher) ist. | .gif) .gif) | ICollection<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)..::.Remove | Entfernt das erste Vorkommen des angegebenen Elements aus der ICollection<(Of <(T>)>). | .gif) .gif) | ICollection..::.SyncRoot | Ruft ein Objekt ab, mit dem der Zugriff auf die ICollection synchronisiert werden kann. | .gif) .gif) | IDictionary..::.Add | Fügt der IDictionary-Schnittstelle ein Element mit dem angegebenen Schlüssel und Wert hinzu. | .gif) .gif) | IDictionary..::.Contains | Ermittelt, ob das IDictionary ein Element mit dem angegebenen Schlüssel enthält. | .gif) .gif) | IDictionary..::.GetEnumerator | Gibt einen IDictionaryEnumerator für das IDictionary zurück. | .gif) .gif) | IDictionary..::.IsFixedSize | Ruft einen Wert ab, der angibt, ob die IDictionary eine feste Größe aufweist. | .gif) .gif) | IDictionary..::.IsReadOnly | Ruft einen Wert ab, der angibt, ob IDictionary schreibgeschützt ist. | .gif) .gif) | IDictionary..::.Item | Ruft das Element mit dem angegebenen Schlüssel ab oder legt dieses fest. | .gif) .gif) | IDictionary<(Of <(TKey, TValue>)>)..::.Keys | Ruft eine ICollection<(Of <(T>)>)-Schnittstelle ab, die die Schlüssel von IDictionary<(Of <(TKey, TValue>)>) enthält. | .gif) .gif) | IDictionary..::.Keys | Ruft eine ICollection ab, die die Schlüssel des IDictionary enthält. | .gif) .gif) | IDictionary..::.Remove | Entfernt das Element mit dem angegebenen Schlüssel aus dem IDictionary. | .gif) .gif) | IDictionary<(Of <(TKey, TValue>)>)..::.Values | Ruft eine ICollection<(Of <(T>)>) ab, die die Werte in IDictionary<(Of <(TKey, TValue>)>) enthält. | .gif) .gif) | IDictionary..::.Values | Ruft eine ICollection ab, die die Werte im IDictionary enthält. | .gif) .gif) | IEnumerable<(Of <(KeyValuePair<(Of <(TKey, TValue>)>)>)>)..::.GetEnumerator | Gibt einen Enumerator zurück, der eine Auflistung durchläuft. | .gif) .gif) | IEnumerable..::.GetEnumerator | Gibt einen Enumerator zurück, der die Auflistung durchläuft. | Zum Seitenanfang

Hinweise
Bei der generischen SortedDictionary<(Of <(TKey, TValue>)>)-Klasse handelt es sich um eine binäre Suchstruktur mit O(log n)-Abruf, wobei n für die Anzahl der Elemente im Wörterbuch steht. In dieser Hinsicht ähnelt sie der generischen SortedList<(Of <(TKey, TValue>)>)-Klasse. Die beiden Klassen verfügen sowohl über ähnliche Objektmodelle als auch über O(log n)-Abruf. Sie unterscheiden sich jedoch in der Speichernutzung und in der Geschwindigkeit von Einfüge- und Entfernungsvorgängen: Jedes Schlüssel-Wert-Paar kann als KeyValuePair<(Of <(TKey, TValue>)>)-Struktur oder als DictionaryEntry über die nicht generische IDictionary-Schnittstelle abgerufen werden. Schlüssel müssen in dem Zeitraum, in dem sie als Schlüssel im SortedDictionary<(Of <(TKey, TValue>)>) verwendet werden, unveränderlich sein. Jeder Schlüssel in einem SortedDictionary<(Of <(TKey, TValue>)>) muss eindeutig sein. Wenn der Werttyp TValue ein Referenztyp ist, kann ein Wert nullNothingnullptrNULL-Verweis (Nothing in Visual Basic) sein, ein Schlüssel jedoch nicht.
Das SortedDictionary<(Of <(TKey, TValue>)>) benötigt für den Vergleich von Schlüsseln eine Vergleichsimplementierung. Sie können mithilfe eines Konstruktors, der einen comparer-Parameter akzeptiert, eine Implementierung der generischen IComparer<(Of <(T>)>)-Schnittstelle angeben. Andernfalls wird der generische Standardvergleich Comparer<(Of <(T>)>)..::.Default verwendet. Wenn der Typ TKey die generische System..::.IComparable<(Of <(T>)>)-Schnittstelle implementiert, verwendet der Standardvergleich diese Implementierung. Für die foreach-Anweisung in C# (for each in C++, For Each in Visual Basic) ist der Typ jedes Elements in der Auflistung erforderlich. Da alle Elemente des SortedDictionary<(Of <(TKey, TValue>)>) Schlüssel-Wert-Paare sind, ist der Elementtyp nicht der Typ des Schlüssels oder Werts. Stattdessen ist der Elementtyp KeyValuePair<(Of <(TKey, TValue>)>). Im folgenden Code werden C#-, C++- und Visual Basic-Syntax veranschaulicht.
For Each kvp As KeyValuePair(Of String, String) In myDictionary
Console.WriteLine("Key = {0}, Value = {1}", kvp.Key, kvp.Value)
Next kvp
foreach( KeyValuePair<string, string> kvp in myDictionary )
{
Console.WriteLine("Key = {0}, Value = {1}", kvp.Key, kvp.Value);
}
for each(KeyValuePair<String^, String^> kvp in myDictionary)
{
Console::WriteLine("Key = {0}, Value = {1}", kvp.Key, kvp.Value);
}
Die foreach-Anweisung fungiert als Wrapper für den Enumerator, der nur das Lesen aus der Auflistung, nicht jedoch das Schreiben in diese zulässt.

Beispiele
Im folgenden Codebeispiel wird ein leeres SortedDictionary<(Of <(TKey, TValue>)>) von Zeichenfolgen mit Zeichenfolgenschlüsseln erstellt, und mithilfe der Add-Methode werden einige Elemente hinzugefügt. Im Beispiel wird veranschaulicht, dass die Add-Methode beim Versuch des Hinzufügens eines doppelten Schlüssels eine ArgumentException auslöst. Im Beispiel werden die Werte mithilfe der Item-Eigenschaft (Indexer in C#) abgerufen. Dies veranschaulicht, dass eine KeyNotFoundException ausgelöst wird, wenn ein angeforderter Schlüssel nicht vorhanden ist. Außerdem wird gezeigt, dass ein einem Schlüssel zugeordneter Wert ersetzt werden kann. In diesem Beispiel wird gezeigt, wie Werte mithilfe der TryGetValue-Methode effizienter abgerufen werden können, wenn ein Programm häufig versucht, auf Schlüsselwerte zuzugreifen, die nicht im Wörterbuch enthalten sind. Außerdem wird veranschaulicht, wie vor dem Aufrufen der Add-Methode mithilfe der ContainsKey-Methode geprüft werden kann, ob ein Schlüssel vorhanden ist. Im Beispiel wird gezeigt, wie die Schlüssel und Werte im Wörterbuch oder eigenständig anhand der Keys-Eigenschaft und der Values aufgelistet werden können. Abschließend wird im Beispiel die Remove-Methode aufgerufen.
Imports System
Imports System.Collections.Generic
Public Class Example
Public Shared Sub Main()
' Create a new sorted dictionary of strings, with string
' keys.
Dim openWith As New SortedDictionary(Of String, String)
' Add some elements to the dictionary. There are no
' duplicate keys, but some of the values are duplicates.
openWith.Add("txt", "notepad.exe")
openWith.Add("bmp", "paint.exe")
openWith.Add("dib", "paint.exe")
openWith.Add("rtf", "wordpad.exe")
' The Add method throws an exception if the new key is
' already in the dictionary.
Try
openWith.Add("txt", "winword.exe")
Catch
Console.WriteLine("An element with Key = ""txt"" already exists.")
End Try
' The Item property is the default property, so you
' can omit its name when accessing elements.
Console.WriteLine("For key = ""rtf"", value = {0}.", _
openWith("rtf"))
' The default Item property can be used to change the value
' associated with a key.
openWith("rtf") = "winword.exe"
Console.WriteLine("For key = ""rtf"", value = {0}.", _
openWith("rtf"))
' If a key does not exist, setting the default Item property
' for that key adds a new key/value pair.
openWith("doc") = "winword.exe"
' The default Item property throws an exception if the requested
' key is not in the dictionary.
Try
Console.WriteLine("For key = ""tif"", value = {0}.", _
openWith("tif"))
Catch
Console.WriteLine("Key = ""tif"" is not found.")
End Try
' When a program often has to try keys that turn out not to
' be in the dictionary, TryGetValue can be a more efficient
' way to retrieve values.
Dim value As String = ""
If openWith.TryGetValue("tif", value) Then
Console.WriteLine("For key = ""tif"", value = {0}.", value)
Else
Console.WriteLine("Key = ""tif"" is not found.")
End If
' ContainsKey can be used to test keys before inserting
' them.
If Not openWith.ContainsKey("ht") Then
openWith.Add("ht", "hypertrm.exe")
Console.WriteLine("Value added for key = ""ht"": {0}", _
openWith("ht"))
End If
' When you use foreach to enumerate dictionary elements,
' the elements are retrieved as KeyValuePair objects.
Console.WriteLine()
For Each kvp As KeyValuePair(Of String, String) In openWith
Console.WriteLine("Key = {0}, Value = {1}", _
kvp.Key, kvp.Value)
Next kvp
' To get the values alone, use the Values property.
Dim valueColl _
As SortedDictionary(Of String, String).ValueCollection = _
openWith.Values
' The elements of the ValueCollection are strongly typed
' with the type that was specified for dictionary values.
Console.WriteLine()
For Each s As String In valueColl
Console.WriteLine("Value = {0}", s)
Next s
' To get the keys alone, use the Keys property.
Dim keyColl _
As SortedDictionary(Of String, String).KeyCollection = _
openWith.Keys
' The elements of the KeyCollection are strongly typed
' with the type that was specified for dictionary keys.
Console.WriteLine()
For Each s As String In keyColl
Console.WriteLine("Key = {0}", s)
Next s
' Use the Remove method to remove a key/value pair.
Console.WriteLine(vbLf + "Remove(""doc"")")
openWith.Remove("doc")
If Not openWith.ContainsKey("doc") Then
Console.WriteLine("Key ""doc"" is not found.")
End If
End Sub
End Class
' This code example produces the following output:
'
'An element with Key = "txt" already exists.
'For key = "rtf", value = wordpad.exe.
'For key = "rtf", value = winword.exe.
'Key = "tif" is not found.
'Key = "tif" is not found.
'Value added for key = "ht": hypertrm.exe
'
'Key = bmp, Value = paint.exe
'Key = dib, Value = paint.exe
'Key = doc, Value = winword.exe
'Key = ht, Value = hypertrm.exe
'Key = rtf, Value = winword.exe
'Key = txt, Value = notepad.exe
'
'Value = paint.exe
'Value = paint.exe
'Value = winword.exe
'Value = hypertrm.exe
'Value = winword.exe
'Value = notepad.exe
'
'Key = bmp
'Key = dib
'Key = doc
'Key = ht
'Key = rtf
'Key = txt
'
'Remove("doc")
'Key "doc" is not found.
'
using System;
using System.Collections.Generic;
public class Example
{
public static void Main()
{
// Create a new sorted dictionary of strings, with string
// keys.
SortedDictionary<string, string> openWith =
new SortedDictionary<string, string>();
// Add some elements to the dictionary. There are no
// duplicate keys, but some of the values are duplicates.
openWith.Add("txt", "notepad.exe");
openWith.Add("bmp", "paint.exe");
openWith.Add("dib", "paint.exe");
openWith.Add("rtf", "wordpad.exe");
// The Add method throws an exception if the new key is
// already in the dictionary.
try
{
openWith.Add("txt", "winword.exe");
}
catch (ArgumentException)
{
Console.WriteLine("An element with Key = \"txt\" already exists.");
}
// The Item property is another name for the indexer, so you
// can omit its name when accessing elements.
Console.WriteLine("For key = \"rtf\", value = {0}.",
openWith["rtf"]);
// The indexer can be used to change the value associated
// with a key.
openWith["rtf"] = "winword.exe";
Console.WriteLine("For key = \"rtf\", value = {0}.",
openWith["rtf"]);
// If a key does not exist, setting the indexer for that key
// adds a new key/value pair.
openWith["doc"] = "winword.exe";
// The indexer throws an exception if the requested key is
// not in the dictionary.
try
{
Console.WriteLine("For key = \"tif\", value = {0}.",
openWith["tif"]);
}
catch (KeyNotFoundException)
{
Console.WriteLine("Key = \"tif\" is not found.");
}
// When a program often has to try keys that turn out not to
// be in the dictionary, TryGetValue can be a more efficient
// way to retrieve values.
string value = "";
if (openWith.TryGetValue("tif", out value))
{
Console.WriteLine("For key = \"tif\", value = {0}.", value);
}
else
{
Console.WriteLine("Key = \"tif\" is not found.");
}
// ContainsKey can be used to test keys before inserting
// them.
if (!openWith.ContainsKey("ht"))
{
openWith.Add("ht", "hypertrm.exe");
Console.WriteLine("Value added for key = \"ht\": {0}",
openWith["ht"]);
}
// When you use foreach to enumerate dictionary elements,
// the elements are retrieved as KeyValuePair objects.
Console.WriteLine();
foreach( KeyValuePair<string, string> kvp in openWith )
{
Console.WriteLine("Key = {0}, Value = {1}",
kvp.Key, kvp.Value);
}
// To get the values alone, use the Values property.
SortedDictionary<string, string>.ValueCollection valueColl =
openWith.Values;
// The elements of the ValueCollection are strongly typed
// with the type that was specified for dictionary values.
Console.WriteLine();
foreach( string s in valueColl )
{
Console.WriteLine("Value = {0}", s);
}
// To get the keys alone, use the Keys property.
SortedDictionary<string, string>.KeyCollection keyColl =
openWith.Keys;
// The elements of the KeyCollection are strongly typed
// with the type that was specified for dictionary keys.
Console.WriteLine();
foreach( string s in keyColl )
{
Console.WriteLine("Key = {0}", s);
}
// Use the Remove method to remove a key/value pair.
Console.WriteLine("\nRemove(\"doc\")");
openWith.Remove("doc");
if (!openWith.ContainsKey("doc"))
{
Console.WriteLine("Key \"doc\" is not found.");
}
}
}
/* This code example produces the following output:
An element with Key = "txt" already exists.
For key = "rtf", value = wordpad.exe.
For key = "rtf", value = winword.exe.
Key = "tif" is not found.
Key = "tif" is not found.
Value added for key = "ht": hypertrm.exe
Key = bmp, Value = paint.exe
Key = dib, Value = paint.exe
Key = doc, Value = winword.exe
Key = ht, Value = hypertrm.exe
Key = rtf, Value = winword.exe
Key = txt, Value = notepad.exe
Value = paint.exe
Value = paint.exe
Value = winword.exe
Value = hypertrm.exe
Value = winword.exe
Value = notepad.exe
Key = bmp
Key = dib
Key = doc
Key = ht
Key = rtf
Key = txt
Remove("doc")
Key "doc" is not found.
*/

Versionsinformationen
.NET FrameworkUnterstützt in: 4, 3.5, 3.0, 2.0 .NET Framework Client ProfileUnterstützt in: 4, 3.5 SP1

Plattformen
Windows 7, Windows Vista SP1 oder höher, Windows XP SP3, Windows XP SP2 x64 Edition, Windows Server 2008 (Server Core wird nicht unterstützt), Windows Server 2008 R2 (Server Core wird mit SP1 oder höher unterstützt), Windows Server 2003 SP2
.NET Framework unterstützt nicht alle Versionen sämtlicher Plattformen. Eine Liste der unterstützten Versionen finden Sie unter Systemanforderungen für .NET Framework.

Threadsicherheit
Öffentliche statische (Shared in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet. SortedDictionary<(Of <(TKey, TValue>)>) stellt eine gleichzeitige Unterstützung für mehrere Reader bereit, sofern die Auflistung nicht verändert wird. Die Enumeration einer Auflistung ist jedoch systembedingt in keinem Fall eine threadsichere Prozedur. Um die Threadsicherheit während der Enumeration zu garantieren, können Sie die Auflistung während der gesamten Enumeration sperren. Um den Lese- und Schreibzugriff auf diese Auflistung durch mehrere Threads zuzulassen, müssen Sie eine eigene Synchronisierung implementieren.

Siehe auch
|