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.
WinList::GetColumnNames Method ()
Gets the names of all the columns of the list view.
Assembly: Microsoft.VisualStudio.TestTools.UITesting (in Microsoft.VisualStudio.TestTools.UITesting.dll)
| Exception | Condition |
|---|---|
| InvalidOperationException | The list is not a list view control. |
Example - Get the names of all the columns of the list view.
string[] columnNames = myListView.GetColumnNames();
Show: