ICollectionView::Contains Method (Object^)
.NET Framework (current version)
Returns a value that indicates whether a given item belongs to this collection view.
Assembly: WindowsBase (in WindowsBase.dll)
Parameters
- item
-
Type:
System::Object^
The object to check.
Return Value
Type: System::Booleantrue if the item belongs to this collection view; otherwise, false.
This method does not make any assumptions about whether the item belongs to the underlying collection.
.NET Framework
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Available since 3.0
Silverlight
Available since 2.0
Windows Phone Silverlight
Available since 7.0
Show: