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

Definição

Insere um TabPage controle 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 baseado em zero no qual o TabPage deve ser inserido.

valuetabPage
Object

A TabPage inserção TabControl.TabPageCollectionno .

Implementações

Exceções

tabPage não é um TabPage.

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

Comentários

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

Aplica-se a