Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

HtmlHelper.Raw Method

Definition

Namespace:
System.Web.Mvc
Assembly:
System.Web.Mvc.dll
Package:
Microsoft.AspNet.Mvc v5.2.6

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

Overloads

Name Description
Raw(Object)

Returns markup that is not HTML encoded.

Raw(String)

Returns markup that is not HTML encoded.

Raw(Object)

Returns markup that is not HTML encoded.

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

The HTML markup.

Returns

The HTML markup without encoding.

Applies to

Raw(String)

Returns markup that is not HTML encoded.

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

The HTML markup.

Returns

The HTML markup without encoding.

Applies to


Feedback

Was this page helpful?