AsyncEnumerable.OfType<TResult>(IAsyncEnumerable<Object>) メソッド

定義

指定した型のTResultに基づいて、IAsyncEnumerable<T>の要素をフィルター処理します。

public:
generic <typename TResult>
[System::Runtime::CompilerServices::Extension]
 static System::Collections::Generic::IAsyncEnumerable<TResult> ^ OfType(System::Collections::Generic::IAsyncEnumerable<System::Object ^> ^ source);
public static System.Collections.Generic.IAsyncEnumerable<TResult> OfType<TResult>(this System.Collections.Generic.IAsyncEnumerable<object?> source);
static member OfType : System.Collections.Generic.IAsyncEnumerable<obj> -> System.Collections.Generic.IAsyncEnumerable<'Result>
<Extension()>
Public Function OfType(Of TResult) (source As IAsyncEnumerable(Of Object)) As IAsyncEnumerable(Of TResult)

型パラメーター

TResult

シーケンスの要素をフィルター処理する型。

パラメーター

source
IAsyncEnumerable<Object>

フィルター処理する要素を持つ IAsyncEnumerable<T>

返品

IAsyncEnumerable<TResult>

IAsyncEnumerable<T>型の入力シーケンスの要素を含むTResult

適用対象