Partager via


FilterCondition.Parse Method

Returns an instance of the FilterCondition class by parsing the provided query element 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 FilterCondition
public static FilterCondition Parse(
    string queryElement
)
public:
static FilterCondition^ Parse(
    String^ queryElement
)
static member Parse : 
        queryElement:string -> FilterCondition
public static function Parse(
    queryElement : String
) : FilterCondition

Parameters

  • queryElement
    Type: String

    A query element string.

Return Value

Type: Microsoft.VisualStudio.TestTools.UITest.Extension.FilterCondition
A FilterCondition if the string is successfully parsed; otherwise, nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

FilterCondition Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace