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.

Namespace:  System.ComponentModel
Assembly:  System.Windows (in System.Windows.dll)

Syntax

Protected Overrides Sub RemoveItem ( _
    index As Integer _
)
protected override void RemoveItem(
    int index
)

Parameters

Remarks

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.

Version Information

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Platforms

Windows Phone

See Also

Reference

SortDescriptionCollection Class

System.ComponentModel Namespace

CollectionChanged

SortDescription