AndCondition.Parse Method
Parses the provided string into an AndCondition object.
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 AndCondition
public static AndCondition Parse(
string queryElement
)
public:
static AndCondition^ Parse(
String^ queryElement
)
static member Parse :
queryElement:string -> AndCondition
public static function Parse(
queryElement : String
) : AndCondition
Parameters
- queryElement
Type: System.String
A string that contains an AND condition.
Return Value
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.AndCondition
Exceptions
Exception | Condition |
---|---|
ArgumentException | The provided queryElement cannot be parsed into an AndCondition. |
.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.