ListBox.IntegerCollection.AddRange 方法

定義

將一組整數加入至集合中。

多載

AddRange(Int32[])

將整數的陣列加入至集合。

AddRange(ListBox+IntegerCollection)

將現有 ListBox.IntegerCollection 的內容加入至其他集合。

AddRange(Int32[])

將整數的陣列加入至集合。

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())

參數

items
Int32[]

要加入至集合中的整數陣列。

備註

整數的陣列會附加至集合,而且會從集合中移除重複專案。

適用於

AddRange(ListBox+IntegerCollection)

將現有 ListBox.IntegerCollection 的內容加入至其他集合。

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)

參數

value
ListBox.IntegerCollection

要加入至其他集合中的 ListBox.IntegerCollection

備註

現有的 ListBox.IntegerCollection 內容會附加至目前的集合,並從合併的集合中移除重複專案。

適用於