SortDescriptionCollection.ClearItems 方法

定義

移除集合的所有項目。

protected:
 override void ClearItems();
protected override void ClearItems ();
override this.ClearItems : unit -> unit
Protected Overrides Sub ClearItems ()

備註

基類會在清除清單時呼叫這個方法。 這個實作 CollectionChanged 會引發 事件。

如需詳細資訊,請參閱 ClearItems 基類的 Collection<T> 方法。

適用於