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 編碼的字串。

適用於