Empty(TResult) Method

Task Parallel System.Threading

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

Namespace:  System.Linq
Assembly:  System.Threading (in System.Threading.dll)

Syntax

Visual Basic (Declaration)
Public Shared Function Empty(Of TResult) As ParallelQuery(Of TResult)
C#
public static ParallelQuery<TResult> Empty<TResult>()

Type Parameters

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

Return Value

An empty sequence whose type argument is TResult.

See Also