Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IUITechnologyManager.Search Method

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Searches for an element in the parent element that matches the condition of the provided query ID cookie.

Namespace:  Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly:  Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
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: System.Object[]
An array of elements that match the query, or null if no elements are found.
ExceptionCondition
NotSupportedException

This implementation does not support this method.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.