Dela via


HtmlHelper.Raw Method

Definition

Overloads

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.

Raw(String)

Source:
HtmlHelper.cs
Source:
HtmlHelper.cs
Source:
HtmlHelper.cs

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

public:
 virtual Microsoft::AspNetCore::Html::IHtmlContent ^ Raw(System::String ^ value);
public Microsoft.AspNetCore.Html.IHtmlContent Raw (string value);
abstract member Raw : string -> Microsoft.AspNetCore.Html.IHtmlContent
override this.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

Raw(Object)

Source:
HtmlHelper.cs
Source:
HtmlHelper.cs
Source:
HtmlHelper.cs

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

public:
 virtual Microsoft::AspNetCore::Html::IHtmlContent ^ Raw(System::Object ^ value);
public Microsoft.AspNetCore.Html.IHtmlContent Raw (object value);
abstract member Raw : obj -> Microsoft.AspNetCore.Html.IHtmlContent
override this.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