MvcHtmlString.Create(String) Method

Definition

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

public static System.Web.Mvc.MvcHtmlString Create (string value);
static member Create : string -> System.Web.Mvc.MvcHtmlString
Public Shared Function Create (value As String) As MvcHtmlString

Parameters

value
String

The value of the string to create .

Returns

An HTML-encoded string.

Applies to