次の方法で共有


MvcHtmlString.IsNullOrEmpty Method

Determines whether the specified string contains content or is either null reference (Nothing in Visual Basic) or empty.

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

Syntax

'Declaration
Public Shared Function IsNullOrEmpty ( _
    value As MvcHtmlString _
) As Boolean
public static bool IsNullOrEmpty(
    MvcHtmlString value
)
public:
static bool IsNullOrEmpty(
    MvcHtmlString^ value
)

Parameters

Return Value

Type: System.Boolean
true if the string is null reference (Nothing in Visual Basic) or empty; otherwise, false.

See Also

Reference

MvcHtmlString Class

System.Web.Mvc Namespace