QueryCondition.Match Method
Returns a value that indicates whether the provided element matches the current query condition.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Public MustOverride Function Match ( _
element As IUITechnologyElement _
) As Boolean
public abstract bool Match(
IUITechnologyElement element
)
public:
virtual bool Match(
IUITechnologyElement^ element
) abstract
abstract Match :
element:IUITechnologyElement -> bool
public abstract function Match(
element : IUITechnologyElement
) : boolean
Parameters
element
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElementAn IUITechnologyElement object.
Return Value
Type: Boolean
true if the element matches the condition; otherwise, false.
Implements
IQueryCondition.Match(IUITechnologyElement)
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.