共用方式為


Rectangle.Location 屬性

取得或設定矩形區域的左上角座標。這個矩形的執行個體。

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

語法

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

屬性值

類型:Microsoft.VisualStudio.TestTools.UITest.Input.Point

.NET Framework 安全性

請參閱

參考

Rectangle 結構

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