ערוך

שתף באמצעות


ListBox.IntegerCollection.AddRange Method

Definition

Adds a group of integers to the collection.

Overloads

AddRange(Int32[])

Adds an array of integers to the collection.

AddRange(ListBox+IntegerCollection)

Adds the contents of an existing ListBox.IntegerCollection to another collection.

AddRange(Int32[])

Adds an array of integers to the collection.

public:
 void AddRange(cli::array <int> ^ items);
public:
 void AddRange(... cli::array <int> ^ items);
public void AddRange (int[] items);
public void AddRange (params int[] items);
member this.AddRange : int[] -> unit
Public Sub AddRange (items As Integer())
Public Sub AddRange (ParamArray items As Integer())

Parameters

items
Int32[]

The array of integers to add to the collection.

Remarks

The array of integers is appended to the collection, and duplicates are removed from the collection.

Applies to

AddRange(ListBox+IntegerCollection)

Adds the contents of an existing ListBox.IntegerCollection to another collection.

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

Parameters

value
ListBox.IntegerCollection

The ListBox.IntegerCollection to add to another collection.

Remarks

The contents of the existing ListBox.IntegerCollection are appended to the current collection, and duplicates are removed from the combined collection.

Applies to