Share via


FilterCondition.TryParse(String, FilterCondition) Method

Definition

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

public:
 static bool TryParse(System::String ^ queryElement, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TestTools::UITest::Extension::FilterCondition ^ % condition);
public static bool TryParse (string queryElement, out Microsoft.VisualStudio.TestTools.UITest.Extension.FilterCondition condition);
static member TryParse : string * FilterCondition -> bool
Public Shared Function TryParse (queryElement As String, ByRef condition As FilterCondition) As Boolean

Parameters

queryElement
String

A query element string.

condition
FilterCondition

(Output) A FilterCondition if the provided string can be parsed; otherwise, null.

Returns

true if the provided query element string can be parsed; otherwise, false.

Applies to