Udostępnij za pośrednictwem


HtmlLocalizerExtensions.GetHtml Metoda

Definicja

Przeciążenia

GetHtml(IHtmlLocalizer, String)

LocalizedHtmlString Pobiera zasób dla określonej nazwy.

GetHtml(IHtmlLocalizer, String, Object[])

LocalizedHtmlString Pobiera zasób dla określonej nazwy.

GetHtml(IHtmlLocalizer, String)

Źródło:
HtmlLocalizerExtensions.cs
Źródło:
HtmlLocalizerExtensions.cs
Źródło:
HtmlLocalizerExtensions.cs

LocalizedHtmlString Pobiera zasób dla określonej nazwy.

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

Parametry

htmlLocalizer
IHtmlLocalizer

Element IHtmlLocalizer.

name
String

Klucz do użycia.

Zwraca

Zasób LocalizedHtmlString .

Dotyczy

GetHtml(IHtmlLocalizer, String, Object[])

Źródło:
HtmlLocalizerExtensions.cs
Źródło:
HtmlLocalizerExtensions.cs
Źródło:
HtmlLocalizerExtensions.cs

LocalizedHtmlString Pobiera zasób dla określonej nazwy.

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

Parametry

htmlLocalizer
IHtmlLocalizer

Element IHtmlLocalizer.

name
String

Klucz do użycia.

arguments
Object[]

Wartości do formatowania ciągu za pomocą polecenia .

Zwraca

Zasób LocalizedHtmlString .

Dotyczy