共用方式為


IEditableCollectionView.RemoveAt Method

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

Removes the item at the specified position from the collection.

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

Syntax

'Declaration
Sub RemoveAt ( _
    index As Integer _
)
void RemoveAt(
    int index
)

Parameters

Remarks

index is relative to the collection view, not the collection. For example, if the collection has 10 items and the view has a Filter applied so that 7 items appear, the valid values of index are 0 through 6.

Version Information

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1

Platforms

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