SizeHelper.GetIsEmpty(Size) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns whether a specified Size is equivalent to an Empty Size
. C# code should use Size.IsEmpty instead.
public:
static bool GetIsEmpty(Size target);
static bool GetIsEmpty(Size const& target);
public static bool GetIsEmpty(Size target);
function getIsEmpty(target)
Public Shared Function GetIsEmpty (target As Size) As Boolean
Parameters
Returns
Boolean
bool
true
if the specified Size is equivalent to an Empty Size
; otherwise, false
.
Remarks
Do not use this method to test for zero area; a size with zero area is not necessarily the Empty size. For more information, see the Empty property.