ListBox.IntegerCollection.Remove(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
從 中移除指定的整數 ListBox.IntegerCollection。
public:
void Remove(int item);
public void Remove(int item);
member this.Remove : int -> unit
Public Sub Remove (item As Integer)
參數
- item
- Int32
從 中移除 ListBox.IntegerCollection整數。
備註
當你從 中移除整數 ListBox.IntegerCollection時,集合中後續整數的索引會改變。 所有關於被移除整數的資訊都會被刪除。 你可以用這個 Remove 方法,指定實際要移除的項目來移除清單中的特定項目。 若要指定要移除整數的索引,而非整數本身,請使用該 RemoveAt 方法。
若整數不在 , ListBox.IntegerCollection此方法不作為。