Share via


PropertyCondition.Parse Method

Creates a PropertyCondition by parsing the provided string.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

Syntax

'Declaration
Public Shared Function Parse ( _
    queryElement As String _
) As PropertyCondition
public static PropertyCondition Parse(
    string queryElement
)
public:
static PropertyCondition^ Parse(
    String^ queryElement
)
static member Parse : 
        queryElement:string -> PropertyCondition
public static function Parse(
    queryElement : String
) : PropertyCondition

Parameters

  • queryElement
    Type: String

    The string to parse.

Return Value

Type: Microsoft.VisualStudio.TestTools.UITest.Extension.PropertyCondition
A PropertyCondition if the parse is successful; otherwise, nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

PropertyCondition Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace