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

Definição

Insere um TabPage controlo na coleção.

Esta API suporta a infraestrutura de produtos e não é pressuposta para ser utilizada diretamente a partir 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 baseado em zero no qual o TabPage deve ser inserido.

valuetabPage
Object

O TabPage para inserir no TabControl.TabPageCollection.

Implementações

Exceções

tabPage não é um TabPage.

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

Observações

Este membro é uma implementação explícita de membro de interface. Só pode ser usado quando a TabControl.TabPageCollection instância é transmitida para uma IList interface.

Aplica-se a