ToolBar.ToolBarButtonCollection.IList.Remove(Object) 方法

定义

从集合中移除某项的第一个匹配项。Removes the first occurrence of an item from the collection.

 virtual void System.Collections.IList.Remove(System::Object ^ button) = System::Collections::IList::Remove;
void IList.Remove (object button);
abstract member System.Collections.IList.Remove : obj -> unit
override this.System.Collections.IList.Remove : obj -> unit
Sub Remove (button As Object) Implements IList.Remove

参数

button
Object

要从 Object 移除的 IListThe Object to remove from the IList.

实现

注解

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

适用于