Condividi tramite


HtmlLocalizerExtensions.GetHtml Metodo

Definizione

Overload

GetHtml(IHtmlLocalizer, String)

Ottiene la LocalizedHtmlString risorsa per un nome specifico.

GetHtml(IHtmlLocalizer, String, Object[])

Ottiene la LocalizedHtmlString risorsa per un nome specifico.

GetHtml(IHtmlLocalizer, String)

Origine:
HtmlLocalizerExtensions.cs
Origine:
HtmlLocalizerExtensions.cs
Origine:
HtmlLocalizerExtensions.cs

Ottiene la LocalizedHtmlString risorsa per un nome specifico.

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

Parametri

htmlLocalizer
IHtmlLocalizer

Oggetto IHtmlLocalizer.

name
String

Chiave da usare.

Restituisce

Risorsa LocalizedHtmlString .

Si applica a

GetHtml(IHtmlLocalizer, String, Object[])

Origine:
HtmlLocalizerExtensions.cs
Origine:
HtmlLocalizerExtensions.cs
Origine:
HtmlLocalizerExtensions.cs

Ottiene la LocalizedHtmlString risorsa per un nome specifico.

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

Parametri

htmlLocalizer
IHtmlLocalizer

Oggetto IHtmlLocalizer.

name
String

Chiave da usare.

arguments
Object[]

Valori con cui formattare la stringa.

Restituisce

Risorsa LocalizedHtmlString .

Si applica a