Share via


PropertyExpressionCollection.Contains Method

Definition

Overloads

Contains(PropertyExpression)

Determines whether the collection contains the provided property expression object.

Contains(String)

Determines whether the collection contains the provided property expression object.

Contains(PropertyExpression)

Determines whether the collection contains the provided property expression object.

public:
 virtual bool Contains(Microsoft::VisualStudio::TestTools::UITesting::PropertyExpression ^ item);
public bool Contains (Microsoft.VisualStudio.TestTools.UITesting.PropertyExpression item);
abstract member Contains : Microsoft.VisualStudio.TestTools.UITesting.PropertyExpression -> bool
override this.Contains : Microsoft.VisualStudio.TestTools.UITesting.PropertyExpression -> bool
Public Function Contains (item As PropertyExpression) As Boolean

Parameters

Returns

true if the collection contains the provided property expression object; otherwise, false.

Implements

Applies to

Contains(String)

Determines whether the collection contains the provided property expression object.

public:
 bool Contains(System::String ^ propertyName);
public bool Contains (string propertyName);
member this.Contains : string -> bool
Public Function Contains (propertyName As String) As Boolean

Parameters

propertyName
String

The name of a property.

Returns

true if the collection contains an item that has the provided property name; otherwise, false.

Applies to