Uredi

Deli z drugimi prek


ListBox.IntegerCollection.RemoveAt(Int32) Method

Definition

Removes the integer at the specified index from the ListBox.IntegerCollection.

public:
 void RemoveAt(int index);
public void RemoveAt (int index);
member this.RemoveAt : int -> unit
Public Sub RemoveAt (index As Integer)

Parameters

index
Int32

The zero-based index of the integer to remove.

Remarks

When you remove an integer from the ListBox.IntegerCollection, the indexes change for subsequent integers in the collection. All information about the removed integer is deleted. You can use the RemoveAt method to remove a specific integer from the list by specifying the index of the integer to remove from the list. To specify the item to remove instead of the index to the item, use the Remove method.

Applies to