共用方式為


ReadOnlyObservableSet<T>.OnItemsCleared(IEnumerable<T>) Method

Definition

Invoked when the set is cleared.

protected:
 virtual void OnItemsCleared(System::Collections::Generic::IEnumerable<T> ^ clearedItems);
protected virtual void OnItemsCleared (System.Collections.Generic.IEnumerable<T> clearedItems);
abstract member OnItemsCleared : seq<'T> -> unit
override this.OnItemsCleared : seq<'T> -> unit
Protected Overridable Sub OnItemsCleared (clearedItems As IEnumerable(Of T))

Parameters

clearedItems
IEnumerable<T>

The elements that were cleared from the set.

Applies to