共用方式為


InvokeAction.SourceElement 屬性

這個實際動作產生的項目。 例如,在影像清單項目,則實際動作在影像,但是會在項目發生,則引發。

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

語法

'宣告
Public Property SourceElement As UITechnologyElement
public UITechnologyElement SourceElement { get; set; }
public:
property UITechnologyElement^ SourceElement {
    UITechnologyElement^ get ();
    void set (UITechnologyElement^ value);
}
member SourceElement : UITechnologyElement with get, set
function get SourceElement () : UITechnologyElement 
function set SourceElement (value : UITechnologyElement)

屬性值

類型:Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement

.NET Framework 安全性

請參閱

參考

InvokeAction 類別

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