StatusBar.StatusBarPanelCollection.IList.Insert(Int32, Object) Metoda

Definicja

Wstawia określony StatusBarPanel element do kolekcji w określonym indeksie.

 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

Parametry

index
Int32

Lokalizacja indeksu zerowego, w której jest wstawiony panel.

value
Object

Obiekt StatusBarPanel reprezentujący panel do wstawienia.

Implementuje

Wyjątki

Parametr indeksu jest mniejszy niż zero lub większy niż wartość Count właściwości.

valuenie jest .StatusBarPanel

-lub-

Element nadrzędny wartości nie nulljest .

Dotyczy