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

Definizione

Inserisce un pulsante della barra degli strumenti esistente nella raccolta di pulsanti della barra degli strumenti nella posizione specificata.

 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

Parametri

index
Int32

Posizione indicizzata all'interno dell'insieme per inserire il pulsante della barra degli strumenti.

button
Object

Oggetto ToolBarButton da inserire.

Implementazioni

Eccezioni

button non è un oggetto ToolBarButton.

Commenti

Questo membro è un'implementazione esplicita del membro dell'interfaccia. Può essere usato solo quando viene eseguito il cast di a un'interfaccia ToolBar.ToolBarButtonCollectionIList .

Si applica a