ToolBar.ToolBarButtonCollection.IList.Insert(Int32, Object) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在指定位置的工具栏按钮集合中插入现有工具栏按钮。
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 插入的。
实现
例外
button不是 .ToolBarButton
注解
此成员是显式接口成员实现。 仅当强制转换为ToolBar.ToolBarButtonCollection接口时IList,才能使用它。