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.
IUITechnologyManager::Search Method (Object^, IUITechnologyElement^, Int32)
Searches for an element in the parent element that matches the condition of the provided query ID cookie.
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
[DispIdAttribute(15)] array<Object^>^ Search( Object^ parsedQueryIdCookie, IUITechnologyElement^ parentElement, int maxDepth )
Parameters
- parsedQueryIdCookie
-
Type:
System::Object^
A previously parsed query cookie.
- parentElement
-
Type:
Microsoft.VisualStudio.TestTools.UITest.Extension::IUITechnologyElement^
An IUITechnologyElement object.
- maxDepth
-
Type:
System::Int32
An int that indicates how deep into the control hierarchy to search.
Return Value
Type: array<System::Object^>^An array of elements that match the query, or null if no elements are found.
| Exception | Condition |
|---|---|
| NotSupportedException | This implementation does not support this method. |
Show: