Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WinTable::GetColumnNames Method ()

 

Gets the names of all the columns of the table.

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

public:
array<String^>^ GetColumnNames()

Return Value

Type: array<System::String^>^

The names of all columns of the table.

Example: Get the names of all the columns of the table.

string[] columnNames = myTable.GetColumnNames();

Return to top
Show: