Bewerken

Delen via


AsyncEnumerable.Empty<TResult> Method

Definition

Returns an empty IAsyncEnumerable<T> that has the specified type argument.

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

Type Parameters

TResult

The type of the elements of the sequence.

Returns

IAsyncEnumerable<TResult>

An empty IAsyncEnumerable<T> whose type argument is TResult.

Applies to