FilterCondition.Match Method

Returns a value that indicates whether the provided element matches the current filter 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

Return Value

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

Implements

IQueryCondition.Match(IUITechnologyElement)

.NET Framework Security

See Also

Reference

FilterCondition Class

Microsoft.VisualStudio.TestTools.UITest.Extension Namespace

IUITechnologyElement