Freigeben über


MvcHtmlString.Create Method

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

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

Syntax

'Declaration
Public Shared Function Create ( _
    value As String _
) As MvcHtmlString
public static MvcHtmlString Create(
    string value
)
public:
static MvcHtmlString^ Create(
    String^ value
)

Parameters

Return Value

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

See Also

Reference

MvcHtmlString Class

System.Web.Mvc Namespace