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)
Syntax
'Declaration
Public Shared Function TryParse ( _
queryElement As String, _
<OutAttribute> ByRef condition As FilterCondition _
) As Boolean
public static bool TryParse(
string queryElement,
out FilterCondition condition
)
public:
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
Parameters
queryElement
Type: StringA query element string.
condition
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.FilterCondition%(Output) A FilterCondition if the provided string can be parsed; otherwise, nulla null reference (Nothing in Visual Basic).
Return Value
Type: Boolean
true if the provided query element string can be parsed; otherwise, false.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.