PropertyCondition.Match Method
Determines whether the provided element matches the current property condition.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Public Overrides Function Match ( _
element As IUITechnologyElement _
) As Boolean
public override bool Match(
IUITechnologyElement element
)
public:
virtual bool Match(
IUITechnologyElement^ element
) override
abstract Match :
element:IUITechnologyElement -> bool
override Match :
element:IUITechnologyElement -> bool
public override function Match(
element : IUITechnologyElement
) : boolean
Parameters
element
Type: Microsoft.VisualStudio.TestTools.UITest.Extension.IUITechnologyElementAn IUITechnologyElement object.
Return Value
Type: Boolean
true if the provided element matches the current property 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.