ListView.SelectedListViewItemCollection.IList.Remove(Object) 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 first occurrence of a specified item from the collection.
virtual void System.Collections.IList.Remove(System::Object ^ value) = System::Collections::IList::Remove;
void IList.Remove (object value);
abstract member System.Collections.IList.Remove : obj -> unit
override this.System.Collections.IList.Remove : obj -> unit
Sub Remove (value As Object) Implements IList.Remove
Parameters
- value
- Object
The object to remove from the ListView.SelectedListViewItemCollection.
Implements
Exceptions
Always thrown.
Remarks
You cannot change the ListView.SelectedListViewItemCollection class directly. To remove an item from the ListView.SelectedListViewItemCollection, 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.