HtmlTable.GetColumnNames Method
Gets the names of all the columns of the table.
Namespace: Microsoft.VisualStudio.TestTools.UITesting.HtmlControls
Assemblies: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
Microsoft.VisualStudio.TestTools.WindowsStore.UITesting (in Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll)
Syntax
'Declaration
Public Function GetColumnNames As String()
public string[] GetColumnNames()
public:
array<String^>^ GetColumnNames()
member GetColumnNames : unit -> string[]
public function GetColumnNames() : String[]
Return Value
Type: array<String[]
The names of all columns of the table.
Remarks
Example: Get the names of all the columns of the table.
string[] columnNames = myTable.GetColumnNames();
.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.
See Also
Reference
Microsoft.VisualStudio.TestTools.UITesting.HtmlControls Namespace