ToolStripItemCollection.AddRange ToolStripItemCollection.AddRange ToolStripItemCollection.AddRange ToolStripItemCollection.AddRange Method

Definición

Agrega ToolStripItem controles a la colección.Adds ToolStripItem controls to the collection.

Sobrecargas

AddRange(ToolStripItem[]) AddRange(ToolStripItem[]) AddRange(ToolStripItem[]) AddRange(ToolStripItem[])

Agrega una matriz de ToolStripItem controles a la colección.Adds an array of ToolStripItem controls to the collection.

AddRange(ToolStripItemCollection) AddRange(ToolStripItemCollection) AddRange(ToolStripItemCollection) AddRange(ToolStripItemCollection)

Agrega un ToolStripItemCollection a la colección actual.Adds a ToolStripItemCollection to the current collection.

AddRange(ToolStripItem[]) AddRange(ToolStripItem[]) AddRange(ToolStripItem[]) AddRange(ToolStripItem[])

Agrega una matriz de ToolStripItem controles a la colección.Adds an array of ToolStripItem controls to the collection.

public:
 void AddRange(cli::array <System::Windows::Forms::ToolStripItem ^> ^ toolStripItems);
public void AddRange (System.Windows.Forms.ToolStripItem[] toolStripItems);
member this.AddRange : System.Windows.Forms.ToolStripItem[] -> unit
Public Sub AddRange (toolStripItems As ToolStripItem())

Parámetros

toolStripItems
ToolStripItem[]

Una matriz de ToolStripItem controles.An array of ToolStripItem controls.

Excepciones

El parámetro toolStripItems es null.The toolStripItems parameter is null.

Comentarios

Utilice esta sobrecarga de AddRange para copiar un ToolStripItem de matriz a un ToolStripItemCollection.Use this overload of AddRange to copy a ToolStripItem array to a ToolStripItemCollection. Use la sobrecarga de AddRange que toma un ToolStripItemCollection parámetro correspondencia uno ToolStripItemCollection con otro.Use the overload of AddRange that takes a ToolStripItemCollection parameter to merge one ToolStripItemCollection with another.

AddRange(ToolStripItemCollection) AddRange(ToolStripItemCollection) AddRange(ToolStripItemCollection) AddRange(ToolStripItemCollection)

Agrega un ToolStripItemCollection a la colección actual.Adds a ToolStripItemCollection to the current collection.

public:
 void AddRange(System::Windows::Forms::ToolStripItemCollection ^ toolStripItems);
public void AddRange (System.Windows.Forms.ToolStripItemCollection toolStripItems);
member this.AddRange : System.Windows.Forms.ToolStripItemCollection -> unit
Public Sub AddRange (toolStripItems As ToolStripItemCollection)

Parámetros

toolStripItems
ToolStripItemCollection ToolStripItemCollection ToolStripItemCollection ToolStripItemCollection

El ToolStripItemCollection que se agregarán a la colección actual.The ToolStripItemCollection to be added to the current collection.

Excepciones

El parámetro toolStripItems es null.The toolStripItems parameter is null.

Comentarios

Utilice esta sobrecarga de AddRange correspondencia uno ToolStripItemCollection con otro.Use this overload of AddRange to merge one ToolStripItemCollection with another. Se suele utiliza este método con ToolStripOverflow, y se puede usar fácilmente el Add, Insert, y Remove métodos para modificar el combinada ToolStripItemCollection.You typically use this method with ToolStripOverflow, and you can easily use the Add, Insert, and Remove methods to modify the merged ToolStripItemCollection.

Use la sobrecarga de AddRange que toma un ToolStripItem matriz para copiar una matriz de ToolStripItem controles a un ToolStripItemCollection.Use the overload of AddRange that takes a ToolStripItem array to copy an array of ToolStripItem controls to a ToolStripItemCollection.

Se aplica a