ToolStripItemCollection.IList.Clear ToolStripItemCollection.IList.Clear ToolStripItemCollection.IList.Clear Method

定义

从集合中移除所有项。Removes all items from the collection.

 virtual void System.Collections.IList.Clear() = System::Collections::IList::Clear;
void IList.Clear ();
Sub Clear () Implements IList.Clear

实现

注解

此成员是显式接口成员的实现。This member is an explicit interface member implementation. 它只能在 ToolStripItemCollection 实例被强制转换为 IList 接口时使用。It can be used only when the ToolStripItemCollection instance is cast to an IList interface.

适用于