MvcHtmlString::IsNullOrEmpty Method

Visual Studio 2010

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

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

public:
static bool IsNullOrEmpty(
	MvcHtmlString^ value
)

Parameters

value
Type: System.Web.Mvc::MvcHtmlString
The string.

Return Value

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

Community Additions

ADD
Show: