UITechnologyManager.MatchElement(IUITechnologyElement, Object, Boolean) UITechnologyManager.MatchElement(IUITechnologyElement, Object, Boolean) UITechnologyManager.MatchElement(IUITechnologyElement, Object, Boolean) UITechnologyManager.MatchElement(IUITechnologyElement, Object, Boolean) Method

Definition

Returns a value that indicates whether the provided element matches the previously parsed query ID cookie.

public:
 abstract bool MatchElement(Microsoft::VisualStudio::TestTools::UITest::Extension::IUITechnologyElement ^ element, System::Object ^ parsedQueryIdCookie, [Runtime::InteropServices::Out] bool % useEngine);
public abstract bool MatchElement (Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement element, object parsedQueryIdCookie, out bool useEngine);
abstract member MatchElement : Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElement * obj *  -> bool
Public MustOverride Function MatchElement (element As IUITechnologyElement, parsedQueryIdCookie As Object, ByRef useEngine As Boolean) As Boolean

Parameters

parsedQueryIdCookie
Object Object Object Object

An Object that represents the cookie of a previously parsed IQueryElement.

useEngine
Boolean Boolean Boolean Boolean

(Output) A Boolean value that indicates whether this technology manager has chosen to use the test framework to match all or part of the query element.

Returns

true if the element matches the query element; otherwise, false.

Implements

Exceptions

Applies to