Share via


UITechnologyManagerProxy.ParseQueryId Method

Parses the query element string and returns the parsedQueryIdCookie that will be used during Search() or MatchElement() or GetChildren() call for either searching or matching or obtaining children that has the same query string.

EXT-PROTO1-NOTES: This is required so that the plugin part of the QID is correctly parsed and playback engine later calls into the plugin's MatchElement() again with that plugin part of QID.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

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

Parameters

  • queryElement
    Type: String

    The query element string to parse.

  • parsedQueryIdCookie
    Type: Object%

    The cookie of the parsed QueryId that will be used later.

Return Value

Type: String
The remaining part of query element string that is not supported by this technology manager. The framework may support the remaining part.

Implements

IUITechnologyManager.ParseQueryId(String, Object%)

.NET Framework Security

See Also

Reference

UITechnologyManagerProxy Class

Microsoft.VisualStudio.TestTools.UITesting Namespace