UITestControlCollection.GetNamesOfControls Method

Gets the names of all controls in the collection.

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

Syntax

'Declaration
Public Function GetNamesOfControls As String()
public string[] GetNamesOfControls()
public:
array<String^>^ GetNamesOfControls()
member GetNamesOfControls : unit -> string[] 
public function GetNamesOfControls() : String[]

Return Value

Type: array<String[]
The array of names of all controls in the collection.

.NET Framework Security

See Also

Reference

UITestControlCollection Class

Microsoft.VisualStudio.TestTools.UITesting Namespace