Share via


TabControl.TabPageCollection.IList.Insert(Int32, Object) Metoda

Definice

Vloží ovládací prvek TabPage do kolekce.

Toto rozhraní API podporuje produktovou infrastrukturu a není určené k použití přímo z uživatelského kódu.

 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

Parametry

index
Int32

Index založený na nule, do kterého TabPage by měl být vložen.

valuetabPage
Object

Vloží TabPage se do TabControl.TabPageCollection.

Implementuje

Výjimky

tabPagenení .TabPage

index je menší než 0 nebo index je větší nebo roven Count.

Poznámky

Tento člen je explicitní implementace členu rozhraní. Lze jej použít pouze v případě, že TabControl.TabPageCollection je instance přetypovaná na IList rozhraní.

Platí pro