Export (0) Print
Expand All

ICollectionView.Contains Method

Indicates whether the specified item belongs to this collection view.

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

bool Contains(
	Object item
)

Parameters

item
Type: System.Object
The object to check.

Return Value

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

Implementations of this method should not make any assumptions about whether the item belongs to the underlying collection if it does not belong to this view of the collection.

Silverlight

Supported in: 5, 4, 3

Silverlight for Windows Phone

Supported in: Windows Phone OS 7.1, Windows Phone OS 7.0

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

Community Additions

Show:
© 2014 Microsoft