ToolBar.ToolBarButtonCollection.IList.Insert(Int32, Object) 方法

定义

在指定位置的工具栏按钮集合中插入现有工具栏按钮。

 virtual void System.Collections.IList.Insert(int index, System::Object ^ button) = System::Collections::IList::Insert;
void IList.Insert(int index, object button);
abstract member System.Collections.IList.Insert : int * obj -> unit
override this.System.Collections.IList.Insert : int * obj -> unit
Sub Insert (index As Integer, button As Object) Implements IList.Insert

参数

index
Int32

集合中要插入工具栏按钮的索引位置。

button
Object

ToolBarButton 插入的。

实现

例外

注解

此成员是显式接口成员实现。 仅当强制转换为ToolBar.ToolBarButtonCollection接口时IList,才能使用它。

适用于