다음을 통해 공유


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

Return Value

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

Implements

IQueryCondition.Match(IUITechnologyElement)

.NET Framework Security

See Also

Reference

QueryCondition Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

IUITechnologyElement