A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://learn.microsoft.com/en-us/dotnet/api/system.linq.parallelenumerable.cast below:

ParallelEnumerable.Cast<TResult>(ParallelQuery) Method (System.Linq) | Microsoft Learn

ParallelEnumerable.Cast<TResult>(ParallelQuery) Method Definition

Converts the elements of a ParallelQuery to the specified type.

public:
generic <typename TResult>
[System::Runtime::CompilerServices::Extension]
 static System::Linq::ParallelQuery<TResult> ^ Cast(System::Linq::ParallelQuery ^ source);
public static System.Linq.ParallelQuery<TResult> Cast<TResult>(this System.Linq.ParallelQuery source);
static member Cast : System.Linq.ParallelQuery -> System.Linq.ParallelQuery<'Result>
<Extension()>
Public Function Cast(Of TResult) (source As ParallelQuery) As ParallelQuery(Of TResult)
Type Parameters
TResult

The type to convert the elements of source to.

Parameters
source
ParallelQuery

The sequence that contains the elements to be converted.

Returns

A sequence that contains each element of the source sequence converted to the specified type.

Exceptions

source is a null reference (Nothing in Visual Basic).

The type of the source sequence could not be converted to TResult.

See also

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide. In this article

Was this page helpful?


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4