Share via


UITestControl.GetUITestControlsForSearch Method

Returns an array of UITestControl objects that will be used for searching.

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

Syntax

'Declaration
Protected Overridable Function GetUITestControlsForSearch As UITestControl()
protected virtual UITestControl[] GetUITestControlsForSearch()
protected:
virtual array<UITestControl^>^ GetUITestControlsForSearch()
abstract GetUITestControlsForSearch : unit -> UITestControl[] 
override GetUITestControlsForSearch : unit -> UITestControl[] 
protected function GetUITestControlsForSearch() : UITestControl[]

Return Value

Type: array<Microsoft.VisualStudio.TestTools.UITesting.UITestControl[]
An array of UITestControl objects that will be used for searching.

.NET Framework Security

See Also

Reference

UITestControl Class

Microsoft.VisualStudio.TestTools.UITesting Namespace