ListBox.IntegerCollection.RemoveAt(Int32) 方法

定義

從指定索引 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 方法。

適用於