InvokeAction.SourceElement 属性

 

实际事件发生的元素。例如,在图像列表项,实际事件发生在图像,但调用,如果激发在项目。

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

语法

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

属性值

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

请参阅

InvokeAction 类
Microsoft.VisualStudio.TestTools.UITest.Common 命名空间

返回页首