MvcHtmlString.Create Method (String)

 

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

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

static member Create : 
        value:string -> MvcHtmlString

Parameters

value
Type: System.String

The value of the string to create .

Return Value

Type: System.Web.Mvc.MvcHtmlString

An HTML-encoded string.

Return to top
Show: