MvcHtmlString.Create Method

Visual Studio 2010

Creates an HTML-encoded string using the specified text value.

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

public static MvcHtmlString Create(
	string value
)

Parameters

value
Type: System.String
The value of the string to create .

Return Value

Type: System.Web.Mvc.MvcHtmlString
An HTML-encoded string.

Community Additions

ADD
Show: