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.
UITechnologyManager::MatchElement Method (IUITechnologyElement^, Object^, Boolean)
Returns a value that indicates whether the provided element matches the previously parsed query ID cookie.
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
public: virtual bool MatchElement( IUITechnologyElement^ element, Object^ parsedQueryIdCookie, [OutAttribute] bool% useEngine ) abstract
Parameters
- element
-
Type:
Microsoft.VisualStudio.TestTools.UITest.Extension::IUITechnologyElement^
An IUITechnologyElement object.
- parsedQueryIdCookie
-
Type:
System::Object^
An Object that represents the cookie of a previously parsed IQueryElement.
- useEngine
-
Type:
System::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.
| Exception | Condition |
|---|---|
| NotSupportedException | This method is not supported by this technology manager. |
Show: