StringExtensions.IsNullOrWhiteSpace(String) 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.
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