Partilhar via


HtmlLocalizerExtensions.GetHtml Método

Definição

Sobrecargas

GetHtml(IHtmlLocalizer, String)

Obtém o LocalizedHtmlString recurso para um nome específico.

GetHtml(IHtmlLocalizer, String, Object[])

Obtém o LocalizedHtmlString recurso para um nome específico.

GetHtml(IHtmlLocalizer, String)

Origem:
HtmlLocalizerExtensions.cs
Origem:
HtmlLocalizerExtensions.cs
Origem:
HtmlLocalizerExtensions.cs

Obtém o LocalizedHtmlString recurso para um nome 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

htmlLocalizer
IHtmlLocalizer

O IHtmlLocalizer.

name
String

A chave a ser usada.

Retornos

O recurso LocalizedHtmlString.

Aplica-se a

GetHtml(IHtmlLocalizer, String, Object[])

Origem:
HtmlLocalizerExtensions.cs
Origem:
HtmlLocalizerExtensions.cs
Origem:
HtmlLocalizerExtensions.cs

Obtém o LocalizedHtmlString recurso para um nome 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

O IHtmlLocalizer.

name
String

A chave a ser usada.

arguments
Object[]

Os valores com os quais formatar a cadeia de caracteres.

Retornos

O recurso LocalizedHtmlString.

Aplica-se a