Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

EqtBaseCollection<T>::Contains Method (T)

 

Returns a value that indicates whether the provided item is already in the collection.

Namespace:   Microsoft.VisualStudio.TestTools.Common
Assembly:  Microsoft.VisualStudio.QualityTools.Common (in Microsoft.VisualStudio.QualityTools.Common.dll)

public:
virtual bool Contains(
	T item
)

Parameters

item
Type: T

An item whose type matches the generic type that was declared when the class was created.

Return Value

Type: System::Boolean

true if the item is contained in the collection; otherwise, false.

Type Parameters

T

A Type that defines the objects in the collection.

Return to top
Show: