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

Definizione

Inserisce un pulsante della barra degli strumenti esistente nell'insieme di pulsanti in corrispondenza della 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 nell'insieme in cui 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 di un membro di interfaccia. Può essere utilizzato solo quando si esegue il cast della classe ToolBar.ToolBarButtonCollection su un'interfaccia IList.

Si applica a