Partager via


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: String

    The object ID.

Return Value

Type: String
The query ID.

.NET Framework Security

See Also

Reference

UIMap Class

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