Share via


UITechnologyManager.ParseQueryId Method

Parses the provided string representation of a query element and returns a string representation of the query element as a cookie.

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

Syntax

'Declaration
Public MustOverride Function ParseQueryId ( _
    queryElement As String, _
    <OutAttribute> ByRef parsedQueryIdCookie As Object _
) As String
public abstract string ParseQueryId(
    string queryElement,
    out Object parsedQueryIdCookie
)
public:
virtual String^ ParseQueryId(
    String^ queryElement, 
    [OutAttribute] Object^% parsedQueryIdCookie
) abstract
abstract ParseQueryId : 
        queryElement:string * 
        parsedQueryIdCookie:Object byref -> string
public abstract function ParseQueryId(
    queryElement : String, 
    parsedQueryIdCookie : Object
) : String

Parameters

  • queryElement
    Type: String

    The string representation of a QueryElement object.

  • parsedQueryIdCookie
    Type: Object%

    (Output) An object that represents the parsed query element that can be used later in such methods as Search, MatchElement, or GetChildren.

Return Value

Type: String
The query element cookie as a string.

Implements

IUITechnologyManager.ParseQueryId(String, Object%)

.NET Framework Security

See Also

Reference

UITechnologyManager Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

Search

MatchElement

GetChildren