共用方式為


PagedCollectionView.Remove Method

Microsoft Silverlight will reach end of support after October 2021. Learn more.

Removes the specified item from the collection.

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

Syntax

'Declaration
Public Sub Remove ( _
    item As Object _
)
public void Remove(
    Object item
)

Parameters

Implements

IEditableCollectionView.Remove(Object)

Remarks

The item must be in the current filtered, sorted, and paged view; otherwise, Remove does nothing.

Version Information

Silverlight

Supported in: 5, 4, 3

Platforms

For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.