TabControl.TabPageCollection.IList.Insert(Int32, Object) Méthode

Définition

Insère une TabPage 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

index
Int32

Index de base zéro auquel TabPage doit être inséré.

valuetabPage
Object

TabPage à insérer dans 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 d'un membre d'interface explicite. Il peut uniquement être utilisé lorsque l'instance de TabControl.TabPageCollection est castée en interface IList.

S’applique à