HtmlLocalizerExtensions.GetHtml Método

Definición

Sobrecargas

GetHtml(IHtmlLocalizer, String)

Obtiene el LocalizedHtmlString recurso para un nombre específico.

GetHtml(IHtmlLocalizer, String, Object[])

Obtiene el LocalizedHtmlString recurso para un nombre específico.

GetHtml(IHtmlLocalizer, String)

Obtiene el LocalizedHtmlString recurso para un nombre específico.

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

Parámetros

name
String

Clave que se va a usar.

Devoluciones

LocalizedHtmlString

Recurso LocalizedHtmlString.

Se aplica a

GetHtml(IHtmlLocalizer, String, Object[])

Obtiene el LocalizedHtmlString recurso para un nombre específico.

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

Parámetros

htmlLocalizer
IHtmlLocalizer

El parámetro de cadena de consulta IHtmlLocalizer.

name
String

Clave que se va a usar.

arguments
Object[]

Los valores con los que se va a dar formato a la cadena.

Devoluciones

LocalizedHtmlString

Recurso LocalizedHtmlString.

Se aplica a