Rectangle.IsEmpty 屬性
取得這個 System.Drawing.Rectangle 是否有 System.Drawing.Rectangle.Width 或 System.Drawing.Rectangle.Height 0。
命名空間: Microsoft.VisualStudio.TestTools.UITest.Input
組件: Microsoft.VisualStudio.TestTools.UITest.Extension (在 Microsoft.VisualStudio.TestTools.UITest.Extension.dll 中)
語法
'宣告
Public ReadOnly Property IsEmpty As Boolean
public bool IsEmpty { get; }
public:
property bool IsEmpty {
bool get ();
}
member IsEmpty : bool with get
function get IsEmpty () : boolean
屬性值
類型:Boolean
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。