BindingElementCollection.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

要尋找之項目的 Type

傳回

Collection<T>

找到之 Collection<T> 型別之所有項目的 Type

適用於