語言

AsyncEnumerable.Empty<TResult> 方法

定義

回傳一個具有指定型態參數的空位 IAsyncEnumerable<T> 。

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)

類型參數

TResult

序列元素的類型。

傳回

IAsyncEnumerable<TResult>

一個型態參數為 IAsyncEnumerable<T>的空 TResult 。

適用於