ImmutableArray<T>.OfType<TResult> メソッド

定義

この配列の要素をフィルター処理して、指定された型に割り当てることができる要素を抽出します。

public:
generic <typename TResult>
 System::Collections::Generic::IEnumerable<TResult> ^ OfType();
public System.Collections.Generic.IEnumerable<TResult> OfType<TResult> ();
member this.OfType : unit -> seq<'Result>
Public Function OfType(Of TResult) () As IEnumerable(Of TResult)

型パラメーター

TResult

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

戻り値

IEnumerable<TResult>

TResult の型の入力シーケンスの要素を格納する IEnumerable

適用対象