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

适用于