HtmlTable.GetContent 方法

获取是所有单元格的值的表的内容。

命名空间:  Microsoft.VisualStudio.TestTools.UITesting.HtmlControls
程序集:   Microsoft.VisualStudio.TestTools.UITesting(在 Microsoft.VisualStudio.TestTools.UITesting.dll 中)
  Microsoft.VisualStudio.TestTools.WindowsStore.UITesting(在 Microsoft.VisualStudio.TestTools.WindowsStore.UITesting.dll 中)

语法

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

返回值

类型:array<String[]
表的内容。

备注

示例:获取表的所有单元格的值。

string[] 值 = myTable.GetContent();

.NET Framework 安全性

请参阅

参考

HtmlTable 类

Microsoft.VisualStudio.TestTools.UITesting.HtmlControls 命名空间