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.
UITechnologyElement::GetQueryIdForRelatedElement Method (UITestElementKind, Object^, Int32)
Returns the query ID for a related element.
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
public: virtual String^ GetQueryIdForRelatedElement( UITestElementKind relatedElement, Object^ additionalInfo, [OutAttribute] int% maxDepth ) abstract
Parameters
- relatedElement
-
Type:
Microsoft.VisualStudio.TestTools.UITest.Extension::UITestElementKind
A member of the UITestElementKind enumeration.
- additionalInfo
-
Type:
System::Object^
Any additional information that is required. For example, if the relatedElement is Child, this parameter would contain the name of the child element.
- maxDepth
-
Type:
System::Int32
The maximum level of depth to search for the related element.
Show: