共用方式為


PagedCollectionView.Contains Method

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

Returns a value that indicates whether the specified item belongs to this collection view.

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

Syntax

'Declaration
Public Function Contains ( _
    item As Object _
) As Boolean
public bool Contains(
    Object item
)

Parameters

Return Value

Type: System.Boolean
true if the specified item belongs to this collection view; otherwise, false.

Implements

ICollectionView.Contains(Object)

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.