Share via


StringExtensions.IsNullOrWhiteSpace(String) Method

Definition

Check whether string is null or contains whitespaces only

public:
[System::Runtime::CompilerServices::Extension]
 static bool IsNullOrWhiteSpace(System::String ^ value);
public static bool IsNullOrWhiteSpace (this string value);
static member IsNullOrWhiteSpace : string -> bool
<Extension()>
Public Function IsNullOrWhiteSpace (value As String) As Boolean

Parameters

value
String

string to validate

Returns

result of operation

Applies to