AsyncEnumerable.Empty<TResult> Metod

Definition

Returnerar ett tomt IAsyncEnumerable<T> som har det angivna typargumentet.

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)

Typparametrar

TResult

Typ av element i sekvensen.

Returer

IAsyncEnumerable<TResult>

En tom IAsyncEnumerable<T> vars typargument är TResult.

Gäller för