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)
Syntax
'Declaration
Public Function GetQueryIdFromId ( _
uiObjectId As String _
) As String
public string GetQueryIdFromId(
string uiObjectId
)
public:
String^ GetQueryIdFromId(
String^ uiObjectId
)
member GetQueryIdFromId :
uiObjectId:string -> string
public function GetQueryIdFromId(
uiObjectId : String
) : String
Parameters
- uiObjectId
Type: System.String
The object ID.
Return Value
Type: System.String
The query ID.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITest.Common.UIMap Namespace