ListBox.IntegerCollection.AddRange Método

Definición

Agrega un grupo de enteros a la colección.

Sobrecargas

AddRange(Int32[])

Agrega una matriz de enteros a la colección.

AddRange(ListBox+IntegerCollection)

Agrega el contenido de una colección ListBox.IntegerCollection existente a otra colección.

AddRange(Int32[])

Source:
ListBox.IntegerCollection.cs
Source:
ListBox.IntegerCollection.cs
Source:
ListBox.IntegerCollection.cs

Agrega una matriz de enteros a la colección.

C#
public void AddRange(int[] items);
C#
public void AddRange(params int[] items);

Parámetros

items
Int32[]

Matriz de enteros que se va a agregar a la colección.

Comentarios

La matriz de enteros se anexa a la colección y los duplicados se quitan de la colección.

Se aplica a

.NET Framework 4.8.1 y otras versiones
Producto Versiones
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10

AddRange(ListBox+IntegerCollection)

Source:
ListBox.IntegerCollection.cs
Source:
ListBox.IntegerCollection.cs
Source:
ListBox.IntegerCollection.cs

Agrega el contenido de una colección ListBox.IntegerCollection existente a otra colección.

C#
public void AddRange(System.Windows.Forms.ListBox.IntegerCollection value);

Parámetros

value
ListBox.IntegerCollection

ListBox.IntegerCollection que se agrega a otra colección.

Comentarios

El contenido del existente ListBox.IntegerCollection se anexa a la colección actual y los duplicados se quitan de la colección combinada.

Se aplica a

.NET Framework 4.8.1 y otras versiones
Producto Versiones
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9, 10