Share via


PropertyExpressionCollection.Contains Method (PropertyExpression)

Determines whether the collection contains the provided property expression object.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntax

'Declaration
Public Function Contains ( _
    item As PropertyExpression _
) As Boolean
public bool Contains(
    PropertyExpression item
)
public:
virtual bool Contains(
    PropertyExpression^ item
) sealed
abstract Contains : 
        item:PropertyExpression -> bool  
override Contains : 
        item:PropertyExpression -> bool
public final function Contains(
    item : PropertyExpression
) : boolean

Parameters

Return Value

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

Implements

ICollection.Contains(UTP)

.NET Framework Security

See Also

Reference

PropertyExpressionCollection Class

Contains Overload

Microsoft.VisualStudio.TestTools.UITesting Namespace

PropertyExpression