共用方式為


HtmlCell 類別

表示網頁使用者介面 (UI) 測試的資料表儲存格。

繼承階層架構

Object
  Microsoft.VisualStudio.TestTools.UITesting.UITestControl
    Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlControl
      Microsoft.VisualStudio.TestTools.UITesting.HtmlControls.HtmlCell

命名空間:  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 中)

語法

'宣告
<CLSCompliantAttribute(True)> _
Public Class HtmlCell _
    Inherits HtmlControl
[CLSCompliantAttribute(true)]
public class HtmlCell : HtmlControl
[CLSCompliantAttribute(true)]
public ref class HtmlCell : public HtmlControl
[<CLSCompliantAttribute(true)>]
type HtmlCell =  
    class 
        inherit HtmlControl 
    end
public class HtmlCell extends HtmlControl

HtmlCell 類型會公開下列成員。

建構函式

  名稱 描述
公用方法 HtmlCell() 初始化 HtmlCell 類別的新執行個體。
公用方法 HtmlCell(UITestControl) 使用提供的父控制項,初始化 HtmlCell 類別的新執行個體。

回頁首

屬性

  名稱 描述
公用屬性 AccessKey 取得此控制項的 AccessKey 屬性值。 (繼承自 HtmlControl)。
公用屬性 BoundingRectangle (繼承自 UITestControl)。
公用屬性 Class 取得此控制項的類別屬性值。 (繼承自 HtmlControl)。
公用屬性 ClassName (繼承自 UITestControl)。
公用屬性 ColumnIndex 取得資料表資料列中的資料行索引。
公用屬性 Container (繼承自 UITestControl)。
公用屬性 ControlDefinition 取得 HTML 頁面中控制項的定義。 (繼承自 HtmlControl)。
公用屬性 ControlType (繼承自 UITestControl)。
公用屬性 Enabled (繼承自 UITestControl)。
公用屬性 Exists (繼承自 UITestControl)。
公用屬性 FilterProperties (繼承自 UITestControl)。
公用屬性 FriendlyName (繼承自 UITestControl)。
公用屬性 HasFocus (繼承自 UITestControl)。
公用屬性 Height (繼承自 UITestControl)。
公用屬性 HelpText 取得此控制項的 HelpText 屬性值。 (繼承自 HtmlControl)。
公用屬性 Id 取得此控制項的 ID 屬性值。 (繼承自 HtmlControl)。
公用屬性 InnerText 取得此控制項的文字內容。 (繼承自 HtmlControl)。
公用屬性 IsTopParent (繼承自 UITestControl)。
公用屬性 Left (繼承自 UITestControl)。
公用屬性 Name (繼承自 UITestControl)。
公用屬性 NativeElement (繼承自 UITestControl)。
公用屬性 RowIndex 取得此儲存格的資料表資料列索引。
公用屬性 SearchConfigurations (繼承自 UITestControl)。
公用屬性 SearchProperties (繼承自 UITestControl)。
受保護的屬性 SearchPropertiesSetExplicitly (繼承自 UITestControl)。
公用屬性 State (繼承自 UITestControl)。
公用屬性 TagInstance 在頁面上的控制項集合中取得具有相同標記名稱之控制項的索引。 (繼承自 HtmlControl)。
公用屬性 TagName 取得此控制項的標記名稱。 (繼承自 HtmlControl)。
公用屬性 TechnologyName (繼承自 UITestControl)。
公用屬性 Title 取得此控制項的標題屬性值。 (繼承自 HtmlControl)。
公用屬性 Top (繼承自 UITestControl)。
公用屬性 TopParent (繼承自 UITestControl)。
公用屬性 Type 取得此控制項的類型屬性值。 (繼承自 HtmlControl)。
公用屬性 Value 取得資料表儲存格中的值。
公用屬性 ValueAttribute 取得此控制項的值屬性值。 (繼承自 HtmlControl)。
公用屬性 Width (繼承自 UITestControl)。
公用屬性 WindowHandle (繼承自 UITestControl)。
公用屬性 WindowTitles (繼承自 UITestControl)。

回頁首

方法

  名稱 描述
公用方法 CaptureImage (繼承自 UITestControl)。
公用方法 CopyFrom (繼承自 UITestControl)。
公用方法 DrawHighlight (繼承自 UITestControl)。
公用方法 EnsureClickable() (繼承自 UITestControl)。
公用方法 EnsureClickable(Point) (繼承自 UITestControl)。
公用方法 EnsureClickable(Point) (繼承自 UITestControl)。
公用方法 Equals (繼承自 UITestControl)。
受保護的方法 Finalize 在記憶體回收開始前,允許物件嘗試釋放資源,並執行其他清除作業。 (繼承自 Object)。
公用方法 Find (繼承自 UITestControl)。
公用方法 FindMatchingControls (繼承自 UITestControl)。
公用方法 GetChildren (繼承自 UITestControl)。
公用方法 GetClickablePoint (繼承自 UITestControl)。
公用方法 GetHashCode (繼承自 UITestControl)。
公用方法 GetParent (繼承自 UITestControl)。
公用方法 GetProperty (繼承自 UITestControl)。
公用方法 GetType 取得目前實例 Type 的屬性。 (繼承自 Object)。
受保護的方法 GetUITestControlsForSearch (繼承自 UITestControl)。
受保護的方法 MemberwiseClone 建立目前 Object 的淺層複製 (Shallow Copy) 。 (繼承自 Object)。
公用方法 SetFocus (繼承自 UITestControl)。
公用方法 SetProperty (繼承自 UITestControl)。
公用方法 ToString (繼承自 UITestControl)。
公用方法 TryFind (繼承自 UITestControl)。
公用方法 TryGetClickablePoint(Point%) (繼承自 UITestControl)。
公用方法 TryGetClickablePoint(Point%) (繼承自 UITestControl)。
公用方法 WaitForControlCondition(Predicate<UITestControl>) (繼承自 UITestControl)。
公用方法 WaitForControlCondition(Predicate<UITestControl>, Int32) (繼承自 UITestControl)。
公用方法 WaitForControlEnabled() (繼承自 UITestControl)。
公用方法 WaitForControlEnabled(Int32) (繼承自 UITestControl)。
公用方法 WaitForControlExist() (繼承自 UITestControl)。
公用方法 WaitForControlExist(Int32) (繼承自 UITestControl)。
公用方法 WaitForControlNotExist() (繼承自 UITestControl)。
公用方法 WaitForControlNotExist(Int32) (繼承自 UITestControl)。
公用方法 WaitForControlPropertyEqual(String, Object) (繼承自 UITestControl)。
公用方法 WaitForControlPropertyEqual(String, Object, Int32) (繼承自 UITestControl)。
公用方法 WaitForControlPropertyNotEqual(String, Object) (繼承自 UITestControl)。
公用方法 WaitForControlPropertyNotEqual(String, Object, Int32) (繼承自 UITestControl)。
公用方法 WaitForControlReady() (繼承自 UITestControl)。
公用方法 WaitForControlReady(Int32) (繼承自 UITestControl)。

回頁首

執行緒安全

這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。

請參閱

參考

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

HtmlCell.PropertyNames

HtmlControl