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
- 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.