SortDescriptionCollection.RemoveItem Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Removes the SortDescription at the specified index in the collection.
Assembly: System.Windows (in System.Windows.dll)
Parameters
- index
- Type: System.Int32
The zero-based index of the SortDescription to remove.
The base class calls this method when an item is removed from the collection. This implementation raises the CollectionChanged event and passes a new copy of the removed SortDescription to the event arguments object. The new copy is not sealed, so that you can modify its values and reuse it.