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

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

See Also

Reference

PropertyExpressionCollection Class

Microsoft.VisualStudio.TestTools.UITesting Namespace