Share via


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

Return Value

Type: System.Boolean
true if the element matches this condition; otherwise, false.

.NET Framework Security

See Also

Reference

IQueryCondition Interface

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

IUITechnologyElement