MvcHtmlString.Create(String) 方法

定义

使用指定文本值创建 HTML 编码的字符串。

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

参数

value
String

要创建的字符串的值。

返回

HTML 编码的字符串。

适用于