IUITechnologyElement.GetQueryIdForRelatedElement Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public:
System::String ^ GetQueryIdForRelatedElement(Microsoft::VisualStudio::TestTools::UITest::Extension::UITestElementKind relatedElement, System::Object ^ additionalInfo, [Runtime::InteropServices::Out] int % maxDepth);
public string GetQueryIdForRelatedElement (Microsoft.VisualStudio.TestTools.UITest.Extension.UITestElementKind relatedElement, object additionalInfo, out int maxDepth);
abstract member GetQueryIdForRelatedElement : Microsoft.VisualStudio.TestTools.UITest.Extension.UITestElementKind * obj * int -> string
Public Function GetQueryIdForRelatedElement (relatedElement As UITestElementKind, additionalInfo As Object, ByRef maxDepth As Integer) As String
Parameters
- relatedElement
- UITestElementKind
A member of the UITestElementKind enumeration.
- additionalInfo
- 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
- Int32
The maximum level of depth to search for the related element.
Returns
The query ID for the related element.