Size.IsEmpty 属性

定义

获取一个值,该值指示此 Size 实例是否为 EmptyGets a value that indicates whether this instance of Size is Empty.

public:
 property bool IsEmpty { bool get(); };
public bool IsEmpty { get; }
member this.IsEmpty : bool
Public ReadOnly Property IsEmpty As Boolean

属性值

如果此 Size 实例为 Empty,则为 true;否则为 falsetrue if this instance of size is Empty; otherwise false.

注解

即使 @no__t 0 是0,@no__t 的实例仍将包含一个0或1,指示一组零或一维点。Even if Size is 0, the instance of Size will still contain a 0 or 1, indicating a zero- or one-dimensional set of points. 因此,请不要使用此属性来检查0区域。Therefore, do not use this property to check for a 0 area.

适用于