IHtmlHelper<TModel>.Raw Method

Definition

Overloads

Raw(Object)

Wraps HTML markup from the string representation of an Object in an HtmlString, without HTML-encoding the string representation.

Raw(String)

Wraps HTML markup in an HtmlString, without HTML-encoding the specified value.

Raw(Object)

Wraps HTML markup from the string representation of an Object in an HtmlString, without HTML-encoding the string representation.

public:
 Microsoft::AspNetCore::Html::IHtmlContent ^ Raw(System::Object ^ value);
public Microsoft.AspNetCore.Html.IHtmlContent Raw (object value);
abstract member Raw : obj -> Microsoft.AspNetCore.Html.IHtmlContent
Public Function Raw (value As Object) As IHtmlContent

Parameters

value
Object

The Object to wrap.

Returns

IHtmlContent containing the wrapped string representation.

Implements

Applies to

Raw(String)

Wraps HTML markup in an HtmlString, without HTML-encoding the specified value.

public:
 Microsoft::AspNetCore::Html::IHtmlContent ^ Raw(System::String ^ value);
public Microsoft.AspNetCore.Html.IHtmlContent Raw (string value);
abstract member Raw : string -> Microsoft.AspNetCore.Html.IHtmlContent
Public Function Raw (value As String) As IHtmlContent

Parameters

value
String

HTML markup String.

Returns

A new IHtmlContent containing the wrapped String.

Implements

Applies to