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
item
Type: Microsoft.VisualStudio.TestTools.UITesting.PropertyExpressionA PropertyExpression object.
Return Value
Type: Boolean
true if the collection contains the provided property expression object; otherwise, false.
Implements
ICollection.Contains(UTP)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
PropertyExpressionCollection Class