HtmlHelper::Raw Method

 

Returns markup that is not HTML encoded.

Namespace:   System.Web.Mvc
Assembly:  System.Web.Mvc (in System.Web.Mvc.dll)

NameDescription
System_CAPS_pubmethodRaw(Object^)

Returns markup that is not HTML encoded.

System_CAPS_pubmethodRaw(String^)

Returns markup that is not HTML encoded.

Return to top

HtmlHelper::Raw Method (Object^)

Returns markup that is not HTML encoded.

public:
IHtmlString^ Raw(
	Object^ value
)

Parameters

value
Type: System::Object^

The HTML markup.

Return Value

Type: System.Web::IHtmlString^

The HTML markup without encoding.

Return to top

HtmlHelper::Raw Method (String^)

Returns markup that is not HTML encoded.

public:
IHtmlString^ Raw(
	String^ value
)

Parameters

value
Type: System::String^

The HTML markup.

Return Value

Type: System.Web::IHtmlString^

The HTML markup without encoding.

This method wraps HTML markup using the IHtmlString class, which renders unencoded HTML.

Return to top
Show: