StatusBar.StatusBarPanelCollection.IList.Insert(Int32, Object) 方法

定義

將指定的 StatusBarPanel 插入至集合中的指定索引處。

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

參數

index
Int32

插入面板之以零起始的索引位置。

value
Object

StatusBarPanel,表示要插入的面板。

實作

例外狀況

索引參數小於零或大於 Count 屬性的值。

value 不是 StatusBarPanel

-或-

值的父代不是 null

適用於