TabControl.TabPageCollection.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 TabPage contrôle dans la collection.
Cette API prend en charge l’infrastructure du produit et n’est pas destinée à être utilisée directement à partir de votre code.
virtual void System.Collections.IList.Insert(int index, System::Object ^ value) = System::Collections::IList::Insert;
virtual void System.Collections.IList.Insert(int index, System::Object ^ tabPage) = System::Collections::IList::Insert;
void IList.Insert(int index, object value);
void IList.Insert(int index, object tabPage);
void IList.Insert(int index, object? tabPage);
abstract member System.Collections.IList.Insert : int * obj -> unit
override this.System.Collections.IList.Insert : int * obj -> unit
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
Sub Insert (index As Integer, tabPage As Object) Implements IList.Insert
Paramètres
- valuetabPage
- Object
À TabPage insérer dans le TabControl.TabPageCollection.
Implémente
Exceptions
tabPage n’est pas un TabPage.
index est inférieur à 0, ou l’index est supérieur ou égal à Count.
Remarques
Ce membre est une implémentation explicite de membre d’interface. Elle ne peut être utilisée que lorsque l’instance TabControl.TabPageCollection est convertie en IList interface.