Partager via


TopLevelElement.GetQueryString Method

Returns the query ID for this top level element.

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

Syntax

'Declaration
Public Overrides Function GetQueryString As String
public override string GetQueryString()
public:
virtual String^ GetQueryString() override
abstract GetQueryString : unit -> string  
override GetQueryString : unit -> string
public override function GetQueryString() : String

Return Value

Type: String
The QueryId for the underlying user interface object.

.NET Framework Security

See Also

Reference

TopLevelElement Class

GetQueryString Overload

Microsoft.VisualStudio.TestTools.UITest.Common.UIMap Namespace

UIObject