UITestControl.FindMatchingControls Method

Returns a collection of all UITestControls that match the specified SearchProperties and FilterProperties.

Namespace:  Microsoft.VisualStudio.TestTools.UITesting
Assembly:  Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)

Syntax

'Declaration
Public Function FindMatchingControls As UITestControlCollection
public UITestControlCollection FindMatchingControls()
public:
UITestControlCollection^ FindMatchingControls()
member FindMatchingControls : unit -> UITestControlCollection 
public function FindMatchingControls() : UITestControlCollection

Return Value

Type: Microsoft.VisualStudio.TestTools.UITesting.UITestControlCollection
A collection of UITestControls.

.NET Framework Security

See Also

Reference

UITestControl Class

Microsoft.VisualStudio.TestTools.UITesting Namespace