ItemCollection.Contains Method (Object)


Returns a value that indicates whether the specified item is in this view.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public override bool Contains(
	object containItem


Type: System.Object

The object to check.

Return Value

Type: System.Boolean

true to indicate that the item belongs to this collection and passes the active filter; otherwise, false.

.NET Framework
Available since 3.0
Return to top