ListBox.IntegerCollection.Add(Int32) 方法

定義

以排序順序為集合新增一個唯一的整數。

public:
 int Add(int item);
public int Add(int item);
member this.Add : int -> int
Public Function Add (item As Integer) As Integer

參數

item
Int32

將整數加入集合。

傳回

新增項目的索引。

例外狀況

新物品的存放空間不足。

適用於