IEditableCollectionView::Remove Method (Object^)
.NET Framework (current version)
Removes the specified item from the collection.
Assembly: WindowsBase (in WindowsBase.dll)
Parameters
- item
-
Type:
System::Object^
The item to remove.
If item is not in the collection, Remove does nothing.
The following example calls CanRemove to check whether an item can be removed from the collection. If an item can be removed, the example prompts the user to confirm the action and calls Remove if the user clicks Yes. For the entire sample, see Changing a Collection by Using IEditableCollectionView Sample.
.NET Framework
Available since 3.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.1
Available since 3.0
Silverlight
Available since 3.0
Windows Phone Silverlight
Available since 7.1
Show: