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

Definição

Insere um controle TabPage na coleção.

Esta API dá suporte à infraestrutura do produto e não deve ser usada diretamente do seu código.

 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

Parâmetros

index
Int32

O índice de base zero no qual o TabPage deve ser inserido.

valuetabPage
Object

O TabPage a ser inserido no TabControl.TabPageCollection.

Implementações

Exceções

tabPage não é um TabPage.

index é menor que 0 ou o índice é maior ou igual a Count.

Comentários

Este membro é uma implementação do membro de interface explícita. Ele só pode ser usado quando a instância de TabControl.TabPageCollection é convertida em uma interface de IList.

Aplica-se a