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: System.String
A partial UI object ID.
Return Value
Type: System.String
A query ID for a contained UI object.
.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