Extension method to check for whitespace in addition to null and empty string.

Namespace: Nehta.VendorLibrary.Common
Assembly: Nehta.VendorLibrary.Common (in Nehta.VendorLibrary.Common.dll) Version: 3.0.2.0 (1.0.0.0)

Syntax

C#
public static bool IsNullOrEmptyWhitespace(
	this string value
)
Visual Basic
<ExtensionAttribute> _
Public Shared Function IsNullOrEmptyWhitespace ( _
	value As String _
) As Boolean
Visual C++
[ExtensionAttribute]
public:
static bool IsNullOrEmptyWhitespace(
	String^ value
)

Parameters

value
Type: System..::..String
The string to test.

Return Value

Indicate if string is null, empty or whitespace.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type String. When you use instance method syntax to call this method, omit the first parameter. For more information, see or .

See Also