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
- value
Type: System.String
The value of the string to create .
Return Value
Type: System.Web.Mvc.MvcHtmlString
An HTML-encoded string.