KeyedByTypeCollection<TItem>.RemoveAll<T> メソッド

定義

コレクションから、指定した型のすべての要素を削除します。

public:
generic <typename T>
 System::Collections::ObjectModel::Collection<T> ^ RemoveAll();
public System.Collections.ObjectModel.Collection<T> RemoveAll<T> ();
member this.RemoveAll : unit -> System.Collections.ObjectModel.Collection<'T>
Public Function RemoveAll(Of T) () As Collection(Of T)

型パラメーター

T

削除するコレクション内の項目の型。

戻り値

元のコレクションに含まれていた Collection<T> 型のオブジェクトで構成される T

適用対象