ListBox.IntegerCollection.AddRange 方法     
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
向集合添加一组整数。
重载
| AddRange(Int32[]) | 向集合添加整数数组。 | 
| AddRange(ListBox+IntegerCollection) | 将现有 ListBox.IntegerCollection 中的内容添加到另一集合。 | 
AddRange(Int32[])
- Source:
- ListBox.IntegerCollection.cs
- Source:
- ListBox.IntegerCollection.cs
- Source:
- 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[] -> unitPublic Sub AddRange (items As Integer())Public Sub AddRange (ParamArray items As Integer())参数
- items
- Int32[]
要添加到集合的整数数组。
注解
整数数组将追加到集合中,并从集合中删除重复项。
适用于
AddRange(ListBox+IntegerCollection)
- Source:
- ListBox.IntegerCollection.cs
- Source:
- ListBox.IntegerCollection.cs
- Source:
- 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 -> unitPublic Sub AddRange (value As ListBox.IntegerCollection)参数
要添加到另一集合的 ListBox.IntegerCollection。
注解
现有 ListBox.IntegerCollection 的内容将追加到当前集合,并从组合集合中删除重复项。