Returns a value that indicates whether the specified item belongs to the view.
Public Overridable Function Contains ( _ item As Object _ ) As Boolean
public virtual bool Contains( Object item )
public: virtual bool Contains( Object^ item )
abstract Contains : item:Object -> bool override Contains : item:Object -> bool
This method does not make any assumptions about whether the item belongs to the underlying collection. If the caller knows that the item belongs to the underlying collection, it is more efficient to call the PassesFilter method.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2