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

Definição

Insere um botão de barra de ferramentas existente 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

O local indexado dentro da coleção para inserir o botão da barra de ferramentas.

button
Object

A ToolBarButton inserção a ser inserida.

Implementações

Exceções

button não é um ToolBarButton.

Comentários

Esse membro é uma implementação de membro de interface explícita. Ele só pode ser usado quando ele ToolBar.ToolBarButtonCollection é convertido em uma IList interface.

Aplica-se a