Share via


HtmlHelper.Raw Méthode

Définition

Surcharges

Raw(String)

Encapsule le balisage HTML dans un HtmlString, sans encodage HTML le spécifié value.

Raw(Object)

Encapsule le balisage HTML à partir de la représentation sous forme de chaîne d’un Object dans un HtmlString, sans encodage HTML de la représentation sous forme de chaîne.

Raw(String)

Source:
HtmlHelper.cs
Source:
HtmlHelper.cs

Encapsule le balisage HTML dans un HtmlString, sans encodage HTML le spécifié 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

Paramètres

value
String

Balisage StringHTML .

Retours

Nouveau IHtmlContent contenant le encapsulé String.

Implémente

S’applique à

Raw(Object)

Source:
HtmlHelper.cs
Source:
HtmlHelper.cs

Encapsule le balisage HTML à partir de la représentation sous forme de chaîne d’un Object dans un HtmlString, sans encodage HTML de la représentation sous forme de chaîne.

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

Paramètres

value
Object

Élément Object à inclure dans un wrapper.

Retours

IHtmlContent contenant la représentation sous forme de chaîne encapsulée.

Implémente

S’applique à