ObservableHashSet<T>.RemoveWhere(Predicate<T>) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從雜湊集中移除所有符合指定謂詞定義條件的元素。
public virtual int RemoveWhere(Predicate<T> match);
abstract member RemoveWhere : Predicate<'T> -> int
override this.RemoveWhere : Predicate<'T> -> int
Public Overridable Function RemoveWhere (match As Predicate(Of T)) As Integer
參數
- match
- Predicate<T>
Predicate<T>代表定義要移除元素的條件。
傳回
從雜湊集中移除的元素數量。