ParallelEnumerable.Empty<TResult> Method

Definition

Returns an empty ParallelQuery{TResult} that has the specified type argument.

public:
generic <typename TResult>
 static System::Linq::ParallelQuery<TResult> ^ Empty();
public static System.Linq.ParallelQuery<TResult> Empty<TResult> ();
static member Empty : unit -> System.Linq.ParallelQuery<'Result>
Public Function Empty(Of TResult) () As ParallelQuery(Of TResult)

Type Parameters

TResult

The type to assign to the type parameter of the returned generic sequence.

Returns

ParallelQuery<TResult>

An empty sequence whose type argument is TResult.

Applies to

See also