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
實作
例外狀況
button 不是 ToolBarButton。
備註
此成員為明確介面成員實作。 它只能在投 ToolBar.ToolBarButtonCollection 射到 IList 介面時使用。