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