HtmlHelper.Raw Method
Returns markup that is not HTML encoded.
Assembly: System.Web.Mvc (in System.Web.Mvc.dll)
| Name | Description | |
|---|---|---|
![]() | Raw(Object) | Returns markup that is not HTML encoded. |
![]() | Raw(String) | Returns markup that is not HTML encoded. |
HtmlHelper.Raw Method (Object)
Returns markup that is not HTML encoded.
Parameters
- value
-
Type:
System.Object
The HTML markup.
HtmlHelper.Raw Method (String)
Returns markup that is not HTML encoded.
Parameters
- value
-
Type:
System.String
The HTML markup.
This method wraps HTML markup using the IHtmlString class, which renders unencoded HTML.
Show:
