StringIsNullOrWhiteSpace Method |
Indicates whether a specified string is null, empty, or consists only of white-space characters.
Namespace: SystemAssembly: mscorlib (in mscorlib.dll) Version: 4.0.0.0
Syntax public static bool IsNullOrWhiteSpace(
string value
)
Parameters
- value
- Type: SystemString
The string to test.
Return Value
Type:
Booleantrue if the
value parameter is null or
Empty, or if
value consists exclusively of white-space characters.
See Also