HtmlHelper.Raw HtmlHelper.Raw HtmlHelper.Raw Method

Definition

Overloads

Raw(Object) Raw(Object) Raw(Object)

Wraps HTML markup in an HtmlString instance so that it is interpreted as HTML markup.

Raw(String) Raw(String) Raw(String)

Wraps HTML markup in an HtmlString instance so that it is interpreted as HTML markup.

Raw(Object) Raw(Object) Raw(Object)

Wraps HTML markup in an HtmlString instance so that it is interpreted as HTML markup.

public System.Web.IHtmlString Raw (object value);
member this.Raw : obj -> System.Web.IHtmlString
Public Function Raw (value As Object) As IHtmlString
Parameters
value
Object Object Object

The object to render HTML for.

Returns

The unencoded HTML.

Raw(String) Raw(String) Raw(String)

Wraps HTML markup in an HtmlString instance so that it is interpreted as HTML markup.

public System.Web.IHtmlString Raw (string value);
member this.Raw : string -> System.Web.IHtmlString
Public Function Raw (value As String) As IHtmlString
Parameters
value
String String String

The string to interpret as HTML markup instead of being HTML-encoded.

Returns

The unencoded HTML.

Applies to