UITechnologyManager.MatchElement 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 -> bool
Public MustOverride Function MatchElement (element As IUITechnologyElement, parsedQueryIdCookie As Object, ByRef useEngine As Boolean) As Boolean

Parameters

parsedQueryIdCookie
Object

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

useEngine
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

This method is not supported by this technology manager.

Applies to