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 安全性

请参阅

参考

Rectangle 结构

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