Partager via


HtmlLocalizerExtensions.GetHtml Méthode

Définition

Surcharges

GetHtml(IHtmlLocalizer, String)

Obtient la LocalizedHtmlString ressource d’un nom spécifique.

GetHtml(IHtmlLocalizer, String, Object[])

Obtient la LocalizedHtmlString ressource d’un nom spécifique.

GetHtml(IHtmlLocalizer, String)

Source:
HtmlLocalizerExtensions.cs
Source:
HtmlLocalizerExtensions.cs
Source:
HtmlLocalizerExtensions.cs

Obtient la LocalizedHtmlString ressource d’un nom spécifique.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Mvc::Localization::LocalizedHtmlString ^ GetHtml(Microsoft::AspNetCore::Mvc::Localization::IHtmlLocalizer ^ htmlLocalizer, System::String ^ name);
public static Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString GetHtml (this Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer htmlLocalizer, string name);
static member GetHtml : Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer * string -> Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString
<Extension()>
Public Function GetHtml (htmlLocalizer As IHtmlLocalizer, name As String) As LocalizedHtmlString

Paramètres

htmlLocalizer
IHtmlLocalizer

L’IHtmlLocalizeropérateur

name
String

Clé à utiliser.

Retours

Ressource LocalizedHtmlString.

S’applique à

GetHtml(IHtmlLocalizer, String, Object[])

Source:
HtmlLocalizerExtensions.cs
Source:
HtmlLocalizerExtensions.cs
Source:
HtmlLocalizerExtensions.cs

Obtient la LocalizedHtmlString ressource d’un nom spécifique.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Mvc::Localization::LocalizedHtmlString ^ GetHtml(Microsoft::AspNetCore::Mvc::Localization::IHtmlLocalizer ^ htmlLocalizer, System::String ^ name, ... cli::array <System::Object ^> ^ arguments);
public static Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString GetHtml (this Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer htmlLocalizer, string name, params object[] arguments);
static member GetHtml : Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer * string * obj[] -> Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString
<Extension()>
Public Function GetHtml (htmlLocalizer As IHtmlLocalizer, name As String, ParamArray arguments As Object()) As LocalizedHtmlString

Paramètres

htmlLocalizer
IHtmlLocalizer

L’IHtmlLocalizeropérateur

name
String

Clé à utiliser.

arguments
Object[]

Valeurs à utiliser pour mettre en forme la chaîne.

Retours

Ressource LocalizedHtmlString.

S’applique à