# ParallelEnumerable Class

**.NET Framework 4**

Provides a set of methods for querying objects that implement ParallelQuery{TSource}. This is the parallel equivalent of Enumerable.

**Namespace:**System.Linq

**Assembly:**System.Core (in System.Core.dll)

The ParallelEnumerable type exposes the following members.

Name | Description | |
---|---|---|

Aggregate(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, TSource, TSource)) | Applies in parallel an accumulator function over a sequence. | |

Aggregate(Of TSource, TAccumulate)(ParallelQuery(Of TSource), TAccumulate, Func(Of TAccumulate, TSource, TAccumulate)) | Applies in parallel an accumulator function over a sequence. The specified seed value is used as the initial accumulator value. | |

Aggregate(Of TSource, TAccumulate, TResult)(ParallelQuery(Of TSource), TAccumulate, Func(Of TAccumulate, TSource, TAccumulate), Func(Of TAccumulate, TResult)) | Applies in parallel 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. | |

Aggregate(Of TSource, TAccumulate, TResult)(ParallelQuery(Of TSource), Func(Of TAccumulate), Func(Of TAccumulate, TSource, TAccumulate), Func(Of TAccumulate, TAccumulate, TAccumulate), Func(Of TAccumulate, TResult)) | Applies in parallel an accumulator function over a sequence. This overload is not available in the sequential implementation. | |

Aggregate(Of TSource, TAccumulate, TResult)(ParallelQuery(Of TSource), TAccumulate, Func(Of TAccumulate, TSource, TAccumulate), Func(Of TAccumulate, TAccumulate, TAccumulate), Func(Of TAccumulate, TResult)) | Applies in parallel an accumulator function over a sequence. This overload is not available in the sequential implementation. | |

All(Of TSource) | Determines in parallel whether all elements of a sequence satisfy a condition. | |

Any(Of TSource)(ParallelQuery(Of TSource)) | Determines whether a parallel sequence contains any elements. | |

Any(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Boolean)) | Determines in parallel whether any element of a sequence satisfies a condition. | |

AsEnumerable(Of TSource) | Converts a ParallelQuery(Of TSource) into an IEnumerable(Of T) to force sequential evaluation of the query. | |

AsOrdered(ParallelQuery) | Enables treatment of a data source as if it was ordered, overriding the default of unordered. AsOrdered may only be invoked on non-generic sequences returned by AsParallel, ParallelEnumerable.Range, and ParallelEnumerable.Repeat. | |

AsOrdered(Of TSource)(ParallelQuery(Of TSource)) | Enables treatment of a data source as if it was ordered, overriding the default of unordered. AsOrdered may only be invoked on generic sequences returned by AsParallel, ParallelEnumerable.Range, and ParallelEnumerable.Repeat. | |

AsParallel(IEnumerable) | Enables parallelization of a query. | |

AsParallel(Of TSource)(IEnumerable(Of TSource)) | Enables parallelization of a query. | |

AsParallel(Of TSource)(Partitioner(Of TSource)) | Enables parallelization of a query, as sourced by a custom partitioner that is responsible for splitting the input sequence into partitions. | |

AsSequential(Of TSource) | Converts a ParallelQuery(Of TSource) into an IEnumerable(Of T) to force sequential evaluation of the query. | |

AsUnordered(Of TSource) | Allows an intermediate query to be treated as if no ordering is implied among the elements. | |

Average(ParallelQuery(Of Decimal)) | Computes in parallel the average of a sequence of values. | |

Average(ParallelQuery(Of Nullable(Of Decimal))) | Computes in parallel the average of a sequence of values. | |

Average(ParallelQuery(Of Double)) | Computes in parallel the average of a sequence of values. | |

Average(ParallelQuery(Of Nullable(Of Double))) | Computes in parallel the average of a sequence of values. | |

Average(ParallelQuery(Of Int32)) | Computes in parallel the average of a sequence of values. | |

Average(ParallelQuery(Of Nullable(Of Int32))) | Computes in parallel the average of a sequence of values. | |

Average(ParallelQuery(Of Int64)) | Computes in parallel the average of a sequence of values. | |

Average(ParallelQuery(Of Nullable(Of Int64))) | Computes in parallel the average of a sequence of values. | |

Average(ParallelQuery(Of Nullable(Of Single))) | Computes in parallel the average of a sequence of values. | |

Average(ParallelQuery(Of Single)) | Computes in parallel the average of a sequence of values. | |

Average(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Decimal)) | Computes in parallel the average of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. | |

Average(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Double)) | Computes in parallel the average of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. | |

Average(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Int32)) | Computes in parallel the average of a sequence of values that are obtained by invoking a transform function on each element of the input sequence. | |

Average(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Int64)) | ||

Average(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Nullable(Of Decimal))) | ||

Average(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Nullable(Of Double))) | ||

Average(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Nullable(Of Int32))) | ||

Average(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Nullable(Of Int64))) | ||

Average(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Nullable(Of Single))) | ||

Average(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Single)) | ||

Cast(Of TResult) | Converts the elements of a ParallelQuery to the specified type. | |

Concat(Of TSource)(ParallelQuery(Of TSource), IEnumerable(Of TSource)) | Obsolete. This Concat overload should never be called. This method is marked as obsolete and always throws NotSupportedException when called. | |

Concat(Of TSource)(ParallelQuery(Of TSource), ParallelQuery(Of TSource)) | Concatenates two parallel sequences. | |

Contains(Of TSource)(ParallelQuery(Of TSource), TSource) | Determines in parallel whether a sequence contains a specified element by using the default equality comparer. | |

Contains(Of TSource)(ParallelQuery(Of TSource), TSource, IEqualityComparer(Of TSource)) | Determines in parallel whether a sequence contains a specified element by using a specified IEqualityComparer(Of T). | |

Count(Of TSource)(ParallelQuery(Of TSource)) | Returns the number of elements in a parallel sequence. | |

Count(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Boolean)) | Returns a number that represents how many elements in the specified parallel sequence satisfy a condition. | |

DefaultIfEmpty(Of TSource)(ParallelQuery(Of TSource)) | Returns the elements of the specified parallel sequence or the type parameter's default value in a singleton collection if the sequence is empty. | |

DefaultIfEmpty(Of TSource)(ParallelQuery(Of TSource), TSource) | Returns the elements of the specified parallel sequence or the specified value in a singleton collection if the sequence is empty. | |

Distinct(Of TSource)(ParallelQuery(Of TSource)) | Returns distinct elements from a parallel sequence by using the default equality comparer to compare values. | |

Distinct(Of TSource)(ParallelQuery(Of TSource), IEqualityComparer(Of TSource)) | Returns distinct elements from a parallel sequence by using a specified IEqualityComparer(Of T) to compare values. | |

ElementAt(Of TSource) | Returns the element at a specified index in a parallel sequence. | |

ElementAtOrDefault(Of TSource) | Returns the element at a specified index in a parallel sequence or a default value if the index is out of range. | |

Empty(Of TResult) | Returns an empty ParallelQuery{TResult} that has the specified type argument. | |

Except(Of TSource)(ParallelQuery(Of TSource), IEnumerable(Of TSource)) | Obsolete. This Except overload should never be called. This method is marked as obsolete and always throws NotSupportedException when called. | |

Except(Of TSource)(ParallelQuery(Of TSource), ParallelQuery(Of TSource)) | Produces the set difference of two parallel sequences by using the default equality comparer to compare values. | |

Except(Of TSource)(ParallelQuery(Of TSource), IEnumerable(Of TSource), IEqualityComparer(Of TSource)) | Obsolete. This Except overload should never be called. This method is marked as obsolete and always throws NotSupportedException when called. | |

Except(Of TSource)(ParallelQuery(Of TSource), ParallelQuery(Of TSource), IEqualityComparer(Of TSource)) | Produces the set difference of two parallel sequences by using the specified IEqualityComparer(Of T) to compare values. | |

First(Of TSource)(ParallelQuery(Of TSource)) | Returns the first element of a parallel sequence. | |

First(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Boolean)) | Returns the first element in a parallel sequence that satisfies a specified condition. | |

FirstOrDefault(Of TSource)(ParallelQuery(Of TSource)) | Returns the first element of a parallel sequence, or a default value if the sequence contains no elements. | |

FirstOrDefault(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Boolean)) | Returns the first element of the parallel sequence that satisfies a condition or a default value if no such element is found. | |

ForAll(Of TSource) | Invokes in parallel the specified action for each element in the source. | |

GroupBy(Of TSource, TKey)(ParallelQuery(Of TSource), Func(Of TSource, TKey)) | Groups in parallel the elements of a sequence according to a specified key selector function. | |

GroupBy(Of TSource, TKey)(ParallelQuery(Of TSource), Func(Of TSource, TKey), IEqualityComparer(Of TKey)) | Groups in parallel the elements of a sequence according to a specified key selector function and compares the keys by using a specified IComparer(Of T). | |

GroupBy(Of TSource, TKey, TElement)(ParallelQuery(Of TSource), Func(Of TSource, TKey), Func(Of TSource, TElement)) | Groups in parallel the elements of a sequence according to a specified key selector function and projects the elements for each group by using a specified function. | |

GroupBy(Of TSource, TKey, TResult)(ParallelQuery(Of TSource), Func(Of TSource, TKey), Func(Of TKey, IEnumerable(Of TSource), TResult)) | Groups in parallel the elements of a sequence according to a specified key selector function and creates a result value from each group and its key. | |

GroupBy(Of TSource, TKey, TElement)(ParallelQuery(Of TSource), Func(Of TSource, TKey), Func(Of TSource, TElement), IEqualityComparer(Of TKey)) | Groups in parallel 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. | |

GroupBy(Of TSource, TKey, TResult)(ParallelQuery(Of TSource), Func(Of TSource, TKey), Func(Of TKey, IEnumerable(Of TSource), TResult), IEqualityComparer(Of TKey)) | Groups in parallel 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. | |

GroupBy(Of TSource, TKey, TElement, TResult)(ParallelQuery(Of TSource), Func(Of TSource, TKey), Func(Of TSource, TElement), Func(Of TKey, IEnumerable(Of TElement), TResult)) | Groups in parallel 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. | |

GroupBy(Of TSource, TKey, TElement, TResult)(ParallelQuery(Of TSource), Func(Of TSource, TKey), Func(Of TSource, TElement), Func(Of TKey, IEnumerable(Of TElement), TResult), IEqualityComparer(Of TKey)) | 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. | |

GroupJoin(Of TOuter, TInner, TKey, TResult)(ParallelQuery(Of TOuter), IEnumerable(Of TInner), Func(Of TOuter, TKey), Func(Of TInner, TKey), Func(Of TOuter, IEnumerable(Of TInner), TResult)) | Obsolete. This GroupJoin overload should never be called. This method is marked as obsolete and always throws NotSupportedException when called. | |

GroupJoin(Of TOuter, TInner, TKey, TResult)(ParallelQuery(Of TOuter), ParallelQuery(Of TInner), Func(Of TOuter, TKey), Func(Of TInner, TKey), Func(Of TOuter, IEnumerable(Of TInner), TResult)) | Correlates in parallel the elements of two sequences based on equality of keys and groups the results. The default equality comparer is used to compare keys. | |

GroupJoin(Of TOuter, TInner, TKey, TResult)(ParallelQuery(Of TOuter), IEnumerable(Of TInner), Func(Of TOuter, TKey), Func(Of TInner, TKey), Func(Of TOuter, IEnumerable(Of TInner), TResult), IEqualityComparer(Of TKey)) | Obsolete. This GroupJoin overload should never be called. This method is marked as obsolete and always throws NotSupportedException when called. | |

GroupJoin(Of TOuter, TInner, TKey, TResult)(ParallelQuery(Of TOuter), ParallelQuery(Of TInner), Func(Of TOuter, TKey), Func(Of TInner, TKey), Func(Of TOuter, IEnumerable(Of TInner), TResult), IEqualityComparer(Of TKey)) | Correlates in parallel the elements of two sequences based on key equality and groups the results. A specified IEqualityComparer(Of T) is used to compare keys. | |

Intersect(Of TSource)(ParallelQuery(Of TSource), IEnumerable(Of TSource)) | Obsolete. This Intersect overload should never be called. This method is marked as obsolete and always throws NotSupportedException when called. | |

Intersect(Of TSource)(ParallelQuery(Of TSource), ParallelQuery(Of TSource)) | Produces the set intersection of two parallel sequences by using the default equality comparer to compare values. | |

Intersect(Of TSource)(ParallelQuery(Of TSource), IEnumerable(Of TSource), IEqualityComparer(Of TSource)) | Obsolete. This Intersect overload should never be called. This method is marked as obsolete and always throws NotSupportedException when called. | |

Intersect(Of TSource)(ParallelQuery(Of TSource), ParallelQuery(Of TSource), IEqualityComparer(Of TSource)) | Produces the set intersection of two parallel sequences by using the specified IEqualityComparer{T} to compare values. | |

Join(Of TOuter, TInner, TKey, TResult)(ParallelQuery(Of TOuter), IEnumerable(Of TInner), Func(Of TOuter, TKey), Func(Of TInner, TKey), Func(Of TOuter, TInner, TResult)) | Obsolete. This Join overload should never be called. This method is marked as obsolete and always throws NotSupportedException when invoked. | |

Join(Of TOuter, TInner, TKey, TResult)(ParallelQuery(Of TOuter), ParallelQuery(Of TInner), Func(Of TOuter, TKey), Func(Of TInner, TKey), Func(Of TOuter, TInner, TResult)) | Correlates in parallel the elements of two sequences based on matching keys. The default equality comparer is used to compare keys. | |

Join(Of TOuter, TInner, TKey, TResult)(ParallelQuery(Of TOuter), IEnumerable(Of TInner), Func(Of TOuter, TKey), Func(Of TInner, TKey), Func(Of TOuter, TInner, TResult), IEqualityComparer(Of TKey)) | Obsolete. This Join overload should never be called. This method is marked as obsolete and always throws NotSupportedException when invoked. | |

Join(Of TOuter, TInner, TKey, TResult)(ParallelQuery(Of TOuter), ParallelQuery(Of TInner), Func(Of TOuter, TKey), Func(Of TInner, TKey), Func(Of TOuter, TInner, TResult), IEqualityComparer(Of TKey)) | Correlates in parallel the elements of two sequences based on matching keys. A specified IEqualityComparer(Of T) is used to compare keys. | |

Last(Of TSource)(ParallelQuery(Of TSource)) | Returns the last element of a parallel sequence. | |

Last(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Boolean)) | Returns the last element of a parallel sequence that satisfies a specified condition. | |

LastOrDefault(Of TSource)(ParallelQuery(Of TSource)) | Returns the last element of a parallel sequence, or a default value if the sequence contains no elements. | |

LastOrDefault(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Boolean)) | Returns the last element of a parallel sequence that satisfies a condition, or a default value if no such element is found. | |

LongCount(Of TSource)(ParallelQuery(Of TSource)) | Returns an Int64 that represents the total number of elements in a parallel sequence. | |

LongCount(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Boolean)) | Returns an Int64 that represents how many elements in a parallel sequence satisfy a condition. | |

Max(ParallelQuery(Of Decimal)) | Returns the maximum value in a parallel sequence of values. | |

Max(ParallelQuery(Of Nullable(Of Decimal))) | Returns the maximum value in a parallel sequence of values. | |

Max(ParallelQuery(Of Double)) | Returns the maximum value in a parallel sequence of values. | |

Max(ParallelQuery(Of Nullable(Of Double))) | Returns the maximum value in a parallel sequence of values. | |

Max(ParallelQuery(Of Int32)) | Returns the maximum value in a parallel sequence of values. | |

Max(ParallelQuery(Of Nullable(Of Int32))) | Returns the maximum value in a parallel sequence of values. | |

Max(ParallelQuery(Of Int64)) | Returns the maximum value in a parallel sequence of values. | |

Max(ParallelQuery(Of Nullable(Of Int64))) | Returns the maximum value in a parallel sequence of values. | |

Max(ParallelQuery(Of Nullable(Of Single))) | Returns the maximum value in a parallel sequence of values. | |

Max(ParallelQuery(Of Single)) | Returns the maximum value in a parallel sequence of values. | |

Max(Of TSource)(ParallelQuery(Of TSource)) | Returns the maximum value in a parallel sequence of values. | |

Max(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Decimal)) | Invokes in parallel a transform function on each element of a sequence and returns the maximum value. | |

Max(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Double)) | Invokes in parallel a transform function on each element of a sequence and returns the maximum value. | |

Max(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Int32)) | Invokes in parallel a transform function on each element of a sequence and returns the maximum value. | |

Max(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Int64)) | ||

Max(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Nullable(Of Decimal))) | ||

Max(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Nullable(Of Double))) | ||

Max(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Nullable(Of Int32))) | ||

Max(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Nullable(Of Int64))) | ||

Max(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Nullable(Of Single))) | ||

Max(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Single)) | ||

Max(Of TSource, TResult)(ParallelQuery(Of TSource), Func(Of TSource, TResult)) | ||

Min(ParallelQuery(Of Decimal)) | Returns the minimum value in a parallel sequence of values. | |

Min(ParallelQuery(Of Nullable(Of Decimal))) | Returns the minimum value in a parallel sequence of values. | |

Min(ParallelQuery(Of Double)) | Returns the minimum value in a parallel sequence of values. | |

Min(ParallelQuery(Of Nullable(Of Double))) | Returns the minimum value in a parallel sequence of values. | |

Min(ParallelQuery(Of Int32)) | Returns the minimum value in a parallel sequence of values. | |

Min(ParallelQuery(Of Nullable(Of Int32))) | Returns the minimum value in a parallel sequence of values. | |

Min(ParallelQuery(Of Int64)) | Returns the minimum value in a parallel sequence of values. | |

Min(ParallelQuery(Of Nullable(Of Int64))) | Returns the minimum value in a parallel sequence of values. | |

Min(ParallelQuery(Of Nullable(Of Single))) | Returns the minimum value in a parallel sequence of values. | |

Min(ParallelQuery(Of Single)) | Returns the minimum value in a parallel sequence of values. | |

Min(Of TSource)(ParallelQuery(Of TSource)) | Returns the minimum value in a parallel sequence of values. | |

Min(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Decimal)) | Invokes in parallel a transform function on each element of a sequence and returns the minimum value. | |

Min(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Double)) | Invokes in parallel a transform function on each element of a sequence and returns the minimum value. | |

Min(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Int32)) | Invokes in parallel a transform function on each element of a sequence and returns the minimum value. | |

Min(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Int64)) | ||

Min(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Nullable(Of Decimal))) | ||

Min(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Nullable(Of Double))) | ||

Min(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Nullable(Of Int32))) | ||

Min(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Nullable(Of Int64))) | ||

Min(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Nullable(Of Single))) | ||

Min(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Single)) | ||

Min(Of TSource, TResult)(ParallelQuery(Of TSource), Func(Of TSource, TResult)) | ||

OfType(Of TResult) | Filters the elements of a ParallelQuery based on a specified type. | |

OrderBy(Of TSource, TKey)(ParallelQuery(Of TSource), Func(Of TSource, TKey)) | Sorts in parallel the elements of a sequence in ascending order according to a key. | |

OrderBy(Of TSource, TKey)(ParallelQuery(Of TSource), Func(Of TSource, TKey), IComparer(Of TKey)) | Sorts in parallel the elements of a sequence in ascending order by using a specified comparer. | |

OrderByDescending(Of TSource, TKey)(ParallelQuery(Of TSource), Func(Of TSource, TKey)) | Sorts in parallel the elements of a sequence in descending order according to a key. | |

OrderByDescending(Of TSource, TKey)(ParallelQuery(Of TSource), Func(Of TSource, TKey), IComparer(Of TKey)) | Sorts the elements of a sequence in descending order by using a specified comparer. | |

Range | Generates a parallel sequence of integral numbers within a specified range. | |

Repeat(Of TResult) | Generates a parallel sequence that contains one repeated value. | |

Reverse(Of TSource) | Inverts the order of the elements in a parallel sequence. | |

Select(Of TSource, TResult)(ParallelQuery(Of TSource), Func(Of TSource, TResult)) | Projects in parallel each element of a sequence into a new form. | |

Select(Of TSource, TResult)(ParallelQuery(Of TSource), Func(Of TSource, Int32, TResult)) | Projects in parallel each element of a sequence into a new form by incorporating the element's index. | |

SelectMany(Of TSource, TResult)(ParallelQuery(Of TSource), Func(Of TSource, IEnumerable(Of TResult))) | Projects in parallel each element of a sequence to an IEnumerable(Of T) and flattens the resulting sequences into one sequence. | |

SelectMany(Of TSource, TResult)(ParallelQuery(Of TSource), Func(Of TSource, Int32, IEnumerable(Of TResult))) | Projects in parallel 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. | |

SelectMany(Of TSource, TCollection, TResult)(ParallelQuery(Of TSource), Func(Of TSource, IEnumerable(Of TCollection)), Func(Of TSource, TCollection, TResult)) | 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. | |

SelectMany(Of TSource, TCollection, TResult)(ParallelQuery(Of TSource), Func(Of TSource, Int32, IEnumerable(Of TCollection)), Func(Of TSource, TCollection, TResult)) | 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. | |

SequenceEqual(Of TSource)(ParallelQuery(Of TSource), IEnumerable(Of TSource)) | Obsolete. This SequenceEqual overload should never be called. This method is marked as obsolete and always throws NotSupportedException when called. | |

SequenceEqual(Of TSource)(ParallelQuery(Of TSource), ParallelQuery(Of TSource)) | Determines whether two parallel sequences are equal by comparing the elements by using the default equality comparer for their type. | |

SequenceEqual(Of TSource)(ParallelQuery(Of TSource), IEnumerable(Of TSource), IEqualityComparer(Of TSource)) | Obsolete. This SequenceEqual overload should never be called. This method is marked as obsolete and always throws NotSupportedException when called. | |

SequenceEqual(Of TSource)(ParallelQuery(Of TSource), ParallelQuery(Of TSource), IEqualityComparer(Of TSource)) | Determines whether two parallel sequences are equal by comparing their elements by using a specified IEqualityComparer{T}. | |

Single(Of TSource)(ParallelQuery(Of TSource)) | Returns the only element of a parallel sequence, and throws an exception if there is not exactly one element in the sequence. | |

Single(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Boolean)) | Returns the only element of a parallel sequence that satisfies a specified condition, and throws an exception if more than one such element exists. | |

SingleOrDefault(Of TSource)(ParallelQuery(Of TSource)) | Returns the only element of a parallel 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. | |

SingleOrDefault(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Boolean)) | Returns the only element of a parallel 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. | |

Skip(Of TSource) | Bypasses a specified number of elements in a parallel sequence and then returns the remaining elements. | |

SkipWhile(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Boolean)) | Bypasses elements in a parallel sequence as long as a specified condition is true and then returns the remaining elements. | |

SkipWhile(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Int32, Boolean)) | Bypasses elements in a parallel 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. | |

Sum(ParallelQuery(Of Decimal)) | Computes in parallel the sum of a sequence of values. | |

Sum(ParallelQuery(Of Nullable(Of Decimal))) | Computes in parallel the sum of a sequence of values. | |

Sum(ParallelQuery(Of Double)) | Computes in parallel the sum of a sequence of values. | |

Sum(ParallelQuery(Of Nullable(Of Double))) | Computes in parallel the sum of a sequence of values. | |

Sum(ParallelQuery(Of Int32)) | Computes in parallel the sum of a sequence of values. | |

Sum(ParallelQuery(Of Nullable(Of Int32))) | Computes in parallel the sum of a sequence of values. | |

Sum(ParallelQuery(Of Int64)) | Computes in parallel the sum of a sequence of values. | |

Sum(ParallelQuery(Of Nullable(Of Int64))) | Computes in parallel the sum of a sequence of values. | |

Sum(ParallelQuery(Of Nullable(Of Single))) | Computes in parallel the sum of a sequence of values. | |

Sum(ParallelQuery(Of Single)) | Computes in parallel the sum of a sequence of values. | |

Sum(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Decimal)) | Computes in parallel the sum of the sequence of values that are obtained by invoking a transform function on each element of the input sequence. | |

Sum(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Double)) | Computes in parallel the sum of the sequence of values that are obtained by invoking a transform function on each element of the input sequence. | |

Sum(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Int32)) | Computes in parallel the sum of the sequence of values that are obtained by invoking a transform function on each element of the input sequence. | |

Sum(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Int64)) | ||

Sum(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Nullable(Of Decimal))) | ||

Sum(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Nullable(Of Double))) | ||

Sum(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Nullable(Of Int32))) | ||

Sum(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Nullable(Of Int64))) | ||

Sum(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Nullable(Of Single))) | ||

Sum(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Single)) | ||

Take(Of TSource) | Returns a specified number of contiguous elements from the start of a parallel sequence. | |

TakeWhile(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Boolean)) | Returns elements from a parallel sequence as long as a specified condition is true. | |

TakeWhile(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Int32, Boolean)) | Returns elements from a parallel sequence as long as a specified condition is true. The element's index is used in the logic of the predicate function. | |

ThenBy(Of TSource, TKey)(OrderedParallelQuery(Of TSource), Func(Of TSource, TKey)) | Performs in parallel a subsequent ordering of the elements in a sequence in ascending order according to a key. | |

ThenBy(Of TSource, TKey)(OrderedParallelQuery(Of TSource), Func(Of TSource, TKey), IComparer(Of TKey)) | Performs in parallel a subsequent ordering of the elements in a sequence in ascending order by using a specified comparer. | |

ThenByDescending(Of TSource, TKey)(OrderedParallelQuery(Of TSource), Func(Of TSource, TKey)) | Performs in parallel a subsequent ordering of the elements in a sequence in descending order, according to a key. | |

ThenByDescending(Of TSource, TKey)(OrderedParallelQuery(Of TSource), Func(Of TSource, TKey), IComparer(Of TKey)) | Performs in parallel a subsequent ordering of the elements in a sequence in descending order by using a specified comparer. | |

ToArray(Of TSource) | Creates an array from a ParallelQuery(Of TSource). | |

ToDictionary(Of TSource, TKey)(ParallelQuery(Of TSource), Func(Of TSource, TKey)) | Creates a Dictionary(Of TKey, TValue) from a ParallelQuery(Of TSource) according to a specified key selector function. | |

ToDictionary(Of TSource, TKey)(ParallelQuery(Of TSource), Func(Of TSource, TKey), IEqualityComparer(Of TKey)) | Creates a Dictionary(Of TKey, TValue) from a ParallelQuery(Of TSource) according to a specified key selector function and key comparer. | |

ToDictionary(Of TSource, TKey, TElement)(ParallelQuery(Of TSource), Func(Of TSource, TKey), Func(Of TSource, TElement)) | Creates a Dictionary(Of TKey, TValue) from a ParallelQuery(Of TSource) according to specified key selector and element selector functions. | |

ToDictionary(Of TSource, TKey, TElement)(ParallelQuery(Of TSource), Func(Of TSource, TKey), Func(Of TSource, TElement), IEqualityComparer(Of TKey)) | Creates a Dictionary(Of TKey, TValue) from a ParallelQuery(Of TSource) according to a specified key selector function, a comparer, and an element selector function. | |

ToList(Of TSource) | Creates a List(Of T) from an ParallelQuery(Of TSource). | |

ToLookup(Of TSource, TKey)(ParallelQuery(Of TSource), Func(Of TSource, TKey)) | Creates an ILookup(Of TKey, TElement) from a ParallelQuery(Of TSource) according to a specified key selector function. | |

ToLookup(Of TSource, TKey)(ParallelQuery(Of TSource), Func(Of TSource, TKey), IEqualityComparer(Of TKey)) | Creates an ILookup(Of TKey, TElement) from a ParallelQuery(Of TSource) according to a specified key selector function and key comparer. | |

ToLookup(Of TSource, TKey, TElement)(ParallelQuery(Of TSource), Func(Of TSource, TKey), Func(Of TSource, TElement)) | Creates an ILookup(Of TKey, TElement) from a ParallelQuery(Of TSource) according to specified key selector and element selector functions. | |

ToLookup(Of TSource, TKey, TElement)(ParallelQuery(Of TSource), Func(Of TSource, TKey), Func(Of TSource, TElement), IEqualityComparer(Of TKey)) | Creates an ILookup(Of TKey, TElement) from a ParallelQuery(Of TSource) according to a specified key selector function, a comparer and an element selector function. | |

Union(Of TSource)(ParallelQuery(Of TSource), IEnumerable(Of TSource)) | Obsolete. This Union overload should never be called. This method is marked as obsolete and always throws NotSupportedException when called. | |

Union(Of TSource)(ParallelQuery(Of TSource), ParallelQuery(Of TSource)) | Produces the set union of two parallel sequences by using the default equality comparer. | |

Union(Of TSource)(ParallelQuery(Of TSource), IEnumerable(Of TSource), IEqualityComparer(Of TSource)) | Obsolete. This Union overload should never be called. This method is marked as obsolete and always throws NotSupportedException when called. | |

Union(Of TSource)(ParallelQuery(Of TSource), ParallelQuery(Of TSource), IEqualityComparer(Of TSource)) | Produces the set union of two parallel sequences by using a specified IEqualityComparer{T}. | |

Where(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Boolean)) | Filters in parallel a sequence of values based on a predicate. | |

Where(Of TSource)(ParallelQuery(Of TSource), Func(Of TSource, Int32, Boolean)) | Filters in parallel a sequence of values based on a predicate. Each element's index is used in the logic of the predicate function. | |

WithCancellation(Of TSource) | Sets the CancellationToken to associate with the query. | |

WithDegreeOfParallelism(Of TSource) | Sets the degree of parallelism to use in a query. Degree of parallelism is the maximum number of concurrently executing tasks that will be used to process the query. | |

WithExecutionMode(Of TSource) | Sets the execution mode of the query. | |

WithMergeOptions(Of TSource) | Sets the merge options for this query, which specify how the query will buffer output. | |

Zip(Of TFirst, TSecond, TResult)(ParallelQuery(Of TFirst), IEnumerable(Of TSecond), Func(Of TFirst, TSecond, TResult)) | Obsolete. This Zip overload should never be called. This method is marked as obsolete and always throws NotSupportedException when invoked. | |

Zip(Of TFirst, TSecond, TResult)(ParallelQuery(Of TFirst), ParallelQuery(Of TSecond), Func(Of TFirst, TSecond, TResult)) | Merges in parallel two sequences by using the specified predicate function. |

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), 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.

## Community Additions

ADD
Show: