Windows Dev Center

ParallelEnumerable.Empty<TResult> Method

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

Namespace:  System.Linq
Assemblies:   System.Linq.Parallel (in System.Linq.Parallel.dll)
  System.Core (in System.Core.dll)

public static ParallelQuery<TResult> Empty<TResult>()

Type Parameters

TResult

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

Return Value

Type: System.Linq.ParallelQuery<TResult>
An empty sequence whose type argument is TResult.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

.NET for Windows Phone apps

Supported in: Windows Phone 8.1

Portable Class Library

Supported in: Portable Class Library
Show:
© 2015 Microsoft