SizeHelper.GetIsEmpty(Size) Método

Definición

Devuelve si un tamaño especificado es equivalente a un tamañovacío. En su lugar, el código de C# y Microsoft Visual Basic deben usar 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

Parámetros

target
Size

Tamaño que se va a evaluar.

Devoluciones

Boolean

bool

true si el tamaño especificado es equivalente a un tamañovacío; de lo contrario, false.

Comentarios

No utilice este método para probar el área cero; un tamaño con un área cero no es necesariamente el tamaño Vacío . Para obtener más información, vea la propiedad Empty .

Se aplica a