共用方式為


UITechnologyElement 類別

實作的 UITest 技術項目的抽象基底類別記錄器和播放。

繼承階層架構

Object
  Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement
    Microsoft.VisualStudio.TestTools.UITesting.UITechnologyElementProxy

命名空間:  Microsoft.VisualStudio.TestTools.UITest.Extension
組件:  Microsoft.VisualStudio.TestTools.UITest.Extension (在 Microsoft.VisualStudio.TestTools.UITest.Extension.dll 中)

語法

'宣告
<ComVisibleAttribute(True)> _
<GuidAttribute("630624E3-24CA-4059-8D78-DC5E2710F945")> _
Public MustInherit Class UITechnologyElement _
    Implements IUITechnologyElement
[ComVisibleAttribute(true)]
[GuidAttribute("630624E3-24CA-4059-8D78-DC5E2710F945")]
public abstract class UITechnologyElement : IUITechnologyElement
[ComVisibleAttribute(true)]
[GuidAttribute(L"630624E3-24CA-4059-8D78-DC5E2710F945")]
public ref class UITechnologyElement abstract : IUITechnologyElement
[<AbstractClass>]
[<ComVisibleAttribute(true)>]
[<GuidAttribute("630624E3-24CA-4059-8D78-DC5E2710F945")>]
type UITechnologyElement =  
    class 
        interface IUITechnologyElement 
    end
public abstract class UITechnologyElement implements IUITechnologyElement

UITechnologyElement 類型會公開下列成員。

建構函式

  名稱 描述
受保護的方法 UITechnologyElement

回頁首

屬性

  名稱 描述
公用屬性 ChildIndex
公用屬性 ClassName
公用屬性 ControlTypeName
公用屬性 FriendlyName
公用屬性 IsLeafNode
公用屬性 IsPassword
公用屬性 IsTreeSwitchingRequired
公用屬性 Name
公用屬性 NativeElement
公用屬性 QueryId
公用屬性 SupportLevel
公用屬性 SwitchingElement
公用屬性 TechnologyManager
公用屬性 TechnologyName
公用屬性 TopLevelElement
公用屬性 Value
公用屬性 WindowHandle
公用屬性 WindowTitles

回頁首

方法

  名稱 描述
公用方法 CacheProperties
公用方法 EnsureVisibleByScrolling
公用方法 Equals(Object) 判斷指定的物件是否等於目前的物件。 (繼承自 Object)。
公用方法 Equals(IUITechnologyElement)
受保護的方法 Finalize 在記憶體回收開始前,允許物件嘗試釋放資源,並執行其他清除作業。 (繼承自 Object)。
公用方法 GetBoundingRectangle
公用方法 GetClickablePoint
公用方法 GetHashCode 做為預設雜湊函式。 (繼承自 Object)。
公用方法 GetNativeControlType
公用方法 GetOption
公用方法 GetPropertyValue
公用方法 GetQueryIdForRelatedElement
公用方法 GetRequestedState
公用方法 GetRightToLeftProperty
公用方法 GetScrolledPercentage
公用方法 GetType 取得目前實例 Type 的屬性。 (繼承自 Object)。
公用方法 InitializeProgrammaticScroll
公用方法 InvokeProgrammaticAction
公用方法 IsInteractable
受保護的方法 MemberwiseClone 建立目前 Object 的淺層複製 (Shallow Copy) 。 (繼承自 Object)。
公用方法 PerformKeyboardAction
公用方法 PerformMouseAction
公用方法 ScrollProgrammatically
公用方法 SetFocus
公用方法 SetOption
公用方法 SetPropertyValue 執行某個動作 SetProperty
公用方法 ToString 傳回代表目前物件的字串。 (繼承自 Object)。
公用方法 WaitForReady

回頁首

欄位

  名稱 描述
公用欄位靜態成員 AllAccessibleStates

回頁首

備註

沒有要更新的內容,請不要在這裡新增資料。

執行緒安全

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

請參閱

參考

Microsoft.VisualStudio.TestTools.UITest.Extension 命名空間