SizeHelper.GetIsEmpty(Size) Metodo

Definizione

Restituisce se una dimensione specificata è equivalente a una dimensionevuota. Il codice C# e Microsoft Visual Basic devono usare invece Size.IsEmpty .

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

Parametri

target
Size

Dimensione da valutare.

Restituisce

Boolean

bool

true se la dimensione specificata è equivalente a una dimensionevuota; in caso contrario, false.

Commenti

Non usare questo metodo per testare l'area zero; una dimensione con zero area non è necessariamente la dimensione vuota . Per altre informazioni, vedere la proprietà Empty .

Si applica a