ToolBar.ToolBarButtonCollection.IList.Insert(Int32, Object) Método

Definição

Insere um botão existente da barra de ferramentas na coleção de botões da barra de ferramentas no local especificado.

 virtual void System.Collections.IList.Insert(int index, System::Object ^ button) = System::Collections::IList::Insert;
void IList.Insert(int index, object button);
abstract member System.Collections.IList.Insert : int * obj -> unit
override this.System.Collections.IList.Insert : int * obj -> unit
Sub Insert (index As Integer, button As Object) Implements IList.Insert

Parâmetros

index
Int32

A localização indexada dentro da coleção para inserir o botão da barra de ferramentas.

button
Object

O ToolBarButton para inserir.

Implementações

Exceções

button não é um ToolBarButton.

Observações

Este membro é uma implementação explícita de membro de interface. Só pode ser usado quando é ToolBar.ToolBarButtonCollection transmitido para uma IList interface.

Aplica-se a