StateManagedCollection.IList.Clear 方法

定義

將所有項目從 StateManagedCollection 集合中移除。

 virtual void System.Collections.IList.Clear() = System::Collections::IList::Clear;
void IList.Clear ();
abstract member System.Collections.IList.Clear : unit -> unit
override this.System.Collections.IList.Clear : unit -> unit
Sub Clear () Implements IList.Clear

實作

備註

OnClear 呼叫 方法之前 Clear 會呼叫 方法,並在 OnClearComplete 完成從集合中移除專案之後 Clear 呼叫 方法。

適用於

另請參閱