UITestAction.UIElement 属性

 

获取或设置此操作所针对的 UI 元素。

命名空间:   Microsoft.VisualStudio.TestTools.UITest.Common
程序集:  Microsoft.VisualStudio.TestTools.UITest.Common(Microsoft.VisualStudio.TestTools.UITest.Common.dll 中)

语法

public UITechnologyElement UIElement { get; set; }
public:
property UITechnologyElement^ UIElement {
    UITechnologyElement^ get();
    void set(UITechnologyElement^ value);
}
member UIElement : UITechnologyElement with get, set
Public Property UIElement As UITechnologyElement

属性值

Type: Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement

关联的 UI 元素;或者,在不发生对象识别的低级别录制过程中为 null

备注

设置该值会引发 PropertyChanged 事件。

请参阅

PropertyChanged
UITestAction 类
Microsoft.VisualStudio.TestTools.UITest.Common 命名空间

返回页首