IQueryCondition.Match Method
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
Returns a value that indicates whether the given element matches this query condition.
Namespace: Microsoft.VisualStudio.TestTools.UITest.Extension
Assembly: Microsoft.VisualStudio.TestTools.UITest.Extension (in Microsoft.VisualStudio.TestTools.UITest.Extension.dll)
Syntax
'Declaration
Function Match ( _
element As IUITechnologyElement _
) As Boolean
bool Match(
IUITechnologyElement element
)
bool Match(
IUITechnologyElement^ element
)
abstract Match :
element:IUITechnologyElement -> bool
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 this condition; otherwise, false.
.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.