ListBox.IntegerCollection.RemoveAt(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.