Information
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.

IUITechnologyElement::GetQueryIdForRelatedElement Method (UITestElementKind, Object^, Int32)

 
Namespace:   Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)

String^ GetQueryIdForRelatedElement(
	UITestElementKind relatedElement,
	Object^ additionalInfo,
	[OutAttribute] int% maxDepth
)

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.

Return Value

Type: System::String^

The query ID for the related element.

Return to top
Show: