FilterCondition.TryParse Method

Returns a value that indicates whether the provided query element string can be parsed into a FilterCondition.

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


Public Shared Function TryParse ( _
    queryElement As String, _
    <OutAttribute> ByRef condition As FilterCondition _
) As Boolean
public static bool TryParse(
    string queryElement,
    out FilterCondition condition
static bool TryParse(
    String^ queryElement, 
    [OutAttribute] FilterCondition^% condition
static member TryParse : 
        queryElement:string * 
        condition:FilterCondition byref -> bool 
public static function TryParse(
    queryElement : String, 
    condition : FilterCondition
) : boolean


Return Value

Type: System.Boolean
true if the provided query element string can be parsed; otherwise, false.

.NET Framework Security

See Also


FilterCondition Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace