PropertyExpressionCollection.Find Method
Returns a property expression object that has a property name that matches the provided property name.
Namespace: Microsoft.VisualStudio.TestTools.UITesting
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Public Function Find ( _
propertyName As String _
) As PropertyExpression
public PropertyExpression Find(
string propertyName
)
public:
PropertyExpression^ Find(
String^ propertyName
)
member Find :
propertyName:string -> PropertyExpression
public function Find(
propertyName : String
) : PropertyExpression
Parameters
propertyName
Type: StringThe property name for a PropertyExpression to find.
Return Value
Type: Microsoft.VisualStudio.TestTools.UITesting.PropertyExpression
A PropertyExpression object, if one is found; otherwise, nulla null reference (Nothing in Visual Basic).
.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.