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