Sdílet prostřednictvím


HtmlLocalizer.ToHtmlString Metoda

Definice

Přetížení

ToHtmlString(LocalizedString)

Vytvoří nový LocalizedHtmlString pro LocalizedString.

ToHtmlString(LocalizedString, Object[])

Vytvoří nový LocalizedHtmlString pro LocalizedString.

ToHtmlString(LocalizedString)

Zdroj:
HtmlLocalizer.cs
Zdroj:
HtmlLocalizer.cs
Zdroj:
HtmlLocalizer.cs

Vytvoří nový LocalizedHtmlString pro LocalizedString.

protected:
 virtual Microsoft::AspNetCore::Mvc::Localization::LocalizedHtmlString ^ ToHtmlString(Microsoft::Extensions::Localization::LocalizedString ^ result);
protected virtual Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString ToHtmlString (Microsoft.Extensions.Localization.LocalizedString result);
abstract member ToHtmlString : Microsoft.Extensions.Localization.LocalizedString -> Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString
override this.ToHtmlString : Microsoft.Extensions.Localization.LocalizedString -> Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString
Protected Overridable Function ToHtmlString (result As LocalizedString) As LocalizedHtmlString

Parametry

Návraty

Platí pro

ToHtmlString(LocalizedString, Object[])

Zdroj:
HtmlLocalizer.cs
Zdroj:
HtmlLocalizer.cs
Zdroj:
HtmlLocalizer.cs

Vytvoří nový LocalizedHtmlString pro LocalizedString.

protected:
 virtual Microsoft::AspNetCore::Mvc::Localization::LocalizedHtmlString ^ ToHtmlString(Microsoft::Extensions::Localization::LocalizedString ^ result, cli::array <System::Object ^> ^ arguments);
protected virtual Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString ToHtmlString (Microsoft.Extensions.Localization.LocalizedString result, object[] arguments);
abstract member ToHtmlString : Microsoft.Extensions.Localization.LocalizedString * obj[] -> Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString
override this.ToHtmlString : Microsoft.Extensions.Localization.LocalizedString * obj[] -> Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString
Protected Overridable Function ToHtmlString (result As LocalizedString, arguments As Object()) As LocalizedHtmlString

Parametry

arguments
Object[]

Argumenty hodnoty, které budou použity při interpretaci zprávy.

Návraty

Platí pro