MvcHtmlString.IsNullOrEmpty Method

Determines whether the specified string contains content or is either Nothing or empty.

Namespace:  System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

'Declaration
Public Shared Function IsNullOrEmpty ( _
	value As MvcHtmlString _
) As Boolean
'Usage
Dim value As MvcHtmlString 
Dim returnValue As Boolean 

returnValue = MvcHtmlString.IsNullOrEmpty(value)

Parameters

value
Type: System.Web.Mvc.MvcHtmlString

The string.

Return Value

Type: System.Boolean
true if the string is Nothing or empty; otherwise, false.
Show: