Lenguaje

ToolBar.ToolBarButtonCollection.IList.Add(Object) Método

Definición

Agrega el botón de barra de herramientas especificado al final de la colección de botones de la barra de herramientas.

 virtual int System.Collections.IList.Add(System::Object ^ button) = System::Collections::IList::Add;
int IList.Add(object button);
abstract member System.Collections.IList.Add : obj -> int
override this.System.Collections.IList.Add : obj -> int
Function Add (button As Object) As Integer Implements IList.Add

Parámetros

button
Object

que ToolBarButton se va a agregar después de todos los botones existentes.

Devoluciones

Valor de índice de base cero del ToolBarButton agregado a la colección.

Implementaciones

Excepciones

Comentarios

Este miembro es una implementación explícita de miembro de interfaz. Solo se puede usar cuando se convierte en ToolBar.ToolBarButtonCollection una IList interfaz.

Se aplica a