Partager via


PropertyExpressionObservableCollection.Contains Method (PropertyExpression)

Checks whether PropertyExpression with same name, value and operator is present in the collection

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

Syntax

'Declaration
Public Function Contains ( _
    item As PropertyExpression _
) As Boolean
public bool Contains(
    PropertyExpression item
)
public:
bool Contains(
    PropertyExpression^ item
)
member Contains : 
        item:PropertyExpression -> bool
public function Contains(
    item : PropertyExpression
) : boolean

Parameters

Return Value

Type: Boolean
True if present.

.NET Framework Security

See Also

Reference

PropertyExpressionObservableCollection Class

Contains Overload

Microsoft.VisualStudio.TestTools.UITesting Namespace