共用方式為


DragDropAction.TargetElement 屬性

取得或設定拖放作業開始的項目。

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

語法

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

屬性值

型別:Microsoft.VisualStudio.TestTools.UITest.Extension.UITechnologyElement
來源 UI 項目。

備註

設定這個屬性會引發 PropertyChanged 事件。

.NET Framework 安全性

請參閱

參考

DragDropAction 類別

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

UITechnologyElement

PropertyChanged