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

適用対象