共用方式為


DragDropAction.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
來源使用者介面 (UI) 項目。

.NET Framework 安全性

請參閱

參考

DragDropAction 類別

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

UITechnologyElement