PropertyExpressionCollection.Contains Method (String)
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 ( _
propertyName As String _
) As Boolean
public bool Contains(
string propertyName
)
public:
bool Contains(
String^ propertyName
)
member Contains :
propertyName:string -> bool
public function Contains(
propertyName : String
) : boolean
Parameters
- propertyName
Type: System.String
The name of a property.
Return Value
Type: System.Boolean
true if the collection contains an item that has the provided property name; otherwise, false.
.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.