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 de 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 na coleção para inserir o botão de barra de ferramentas.

button
Object

O ToolBarButton a ser inserido.

Implementações

Exceções

button não é um ToolBarButton.

Comentários

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

Aplica-se a