MvcHtmlString.IsNullOrEmpty Method
Determines whether the specified string contains content or is either a null reference (Nothing in Visual Basic) or empty.
Namespace: System.Web.Mvc
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
Parameters
- value
- Type: System.Web.Mvc.MvcHtmlString
The string.
Return Value
Type: System.Booleantrue if the string is a null reference (Nothing in Visual Basic) or empty; otherwise, false.
Show: