ListView.SelectedIndexCollection.IList.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 an item from the collection at a specified index.
virtual void System.Collections.IList.RemoveAt(int index) = System::Collections::IList::RemoveAt;
void IList.RemoveAt (int index);
abstract member System.Collections.IList.RemoveAt : int -> unit
override this.System.Collections.IList.RemoveAt : int -> unit
Sub RemoveAt (index As Integer) Implements IList.RemoveAt
Parameters
- index
- Int32
The zero-based index of the item to remove.
Implements
Exceptions
Always thrown.
Remarks
You cannot change the ListView.SelectedIndexCollection class directly. To remove an item from the ListView.SelectedIndexCollection, use the Selected property.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.