We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.

UIMap.GetQueryIdFromId Method

Returns the query ID for the object that is specified by the provided ID.

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

public string GetQueryIdFromId(
	string uiObjectId
)

Parameters

uiObjectId
Type: String

The object ID.

Return Value

Type: String
The query ID.

Show: