共用方式為


Rectangle.Width 屬性

取得或設定這個的執行個體上所定義的寬度。

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

語法

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

屬性值

類型:Int32

.NET Framework 安全性

請參閱

參考

Rectangle 結構

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