Condividi tramite


StringExtensions.IsEmpty(String) Metodo

Definizione

Verifica se un valore stringa è null o vuoto.

public static bool IsEmpty (this string value);
static member IsEmpty : string -> bool
<Extension()>
Public Function IsEmpty (value As String) As Boolean

Parametri

value
String

Valore della stringa da testare.

Restituisce

true se value è null o è una stringa di lunghezza zero (""); in caso contrario, false.

Si applica a