Delen via


UIObject.GetQueryString Method (String)

Returns the query ID of the contained UI object that is specified by the given partial ID.

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

Syntax

'Declaration
Public Function GetQueryString ( _
    partialId As String _
) As String
public string GetQueryString(
    string partialId
)
public:
String^ GetQueryString(
    String^ partialId
)
member GetQueryString : 
        partialId:string -> string
public function GetQueryString(
    partialId : String
) : String

Parameters

  • partialId
    Type: String

    A partial UI object ID.

Return Value

Type: String
A query ID for a contained UI object.

.NET Framework Security

See Also

Reference

UIObject Class

GetQueryString Overload

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

Descendants