WpfTable.GetContent Method

Gets the content of the table that is values of all the cells.

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

Syntax

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

Return Value

Type: array<String[]
The content of the table.

Remarks

Example - Get the values of all the cells of the table string[] values = myTable.GetContent();

.NET Framework Security

See Also

Reference

WpfTable Class

Microsoft.VisualStudio.TestTools.UITesting.WpfControls Namespace