PropertyExpressionCollection.Contains Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- item
- PropertyExpression
A PropertyExpression object.
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.