ToolBar.ToolBarButtonCollection.IList.Insert(Int32, Object) Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Insère un bouton de barre d’outils existant dans la collection de boutons de barre d’outils à l’emplacement spécifié.
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
Paramètres
- index
- Int32
Emplacement indexé dans la collection pour insérer le bouton de barre d’outils.
- button
- Object
À ToolBarButton insérer.
Implémente
Exceptions
button n’est pas un ToolBarButton.
Remarques
Ce membre est une implémentation explicite de membre d’interface. Il ne peut être utilisé que lorsque le ToolBar.ToolBarButtonCollection cast est converti en interface IList .