The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
UITechnologyElementProxy::GetQueryIdForRelatedElement Method (UITestElementKind, Object^, Int32)
Gets the QueryId for the related element specified by UITestElementKind.
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
public: virtual String^ GetQueryIdForRelatedElement( UITestElementKind relatedElement, Object^ additionalInfo, [OutAttribute] int% maxDepth ) override
Parameters
- relatedElement
-
Type:
Microsoft.VisualStudio.TestTools.UITest.Extension::UITestElementKind
The kind of related element.
- additionalInfo
-
Type:
System::Object^
Any additional information that is required.
- maxDepth
-
Type:
System::Int32
The maximum depth to search under this element to find the required component.
Show: