ToolBar.ToolBarButtonCollection.IList.Insert(Int32, Object) Metoda

Definicja

Wstawia istniejący przycisk paska narzędzi w kolekcji przycisków paska narzędzi w określonej lokalizacji.

 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

Parametry

index
Int32

Indeksowana lokalizacja w kolekcji w celu wstawienia przycisku paska narzędzi.

button
Object

Obiekt ToolBarButton do wstawienia.

Implementuje

Wyjątki

Uwagi

Ten element jest jawną implementacją członków. Może być używany tylko wtedy, gdy ToolBar.ToolBarButtonCollection obiekt jest rzutowy do interfejsu IList .

Dotyczy