ListBox.IntegerCollection.AddRange 方法

定義

將一組整數加入集合中。

多載

名稱 Description
AddRange(Int32[])

向集合加入整數陣列。

AddRange(ListBox+IntegerCollection)

將現有 ListBox.IntegerCollection 的集合內容加入另一個集合。

AddRange(Int32[])

來源:
ListBox.IntegerCollection.cs
來源:
ListBox.IntegerCollection.cs
來源:
ListBox.IntegerCollection.cs
來源:
ListBox.IntegerCollection.cs
來源:
ListBox.IntegerCollection.cs

向集合加入整數陣列。

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.cs
來源:
ListBox.IntegerCollection.cs
來源:
ListBox.IntegerCollection.cs
來源:
ListBox.IntegerCollection.cs
來源:
ListBox.IntegerCollection.cs

將現有 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 內容會附加到目前的收藏中,重複的內容則從合併的收藏中移除。

適用於