Dela via


HtmlLocalizer.ToHtmlString Method

Definition

Overloads

ToHtmlString(LocalizedString)

Creates a new LocalizedHtmlString for a LocalizedString.

ToHtmlString(LocalizedString, Object[])

Creates a new LocalizedHtmlString for a LocalizedString.

ToHtmlString(LocalizedString)

Source:
HtmlLocalizer.cs
Source:
HtmlLocalizer.cs
Source:
HtmlLocalizer.cs

Creates a new LocalizedHtmlString for a 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

Parameters

Returns

Applies to

ToHtmlString(LocalizedString, Object[])

Source:
HtmlLocalizer.cs
Source:
HtmlLocalizer.cs
Source:
HtmlLocalizer.cs

Creates a new LocalizedHtmlString for a 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

Parameters

arguments
Object[]

The value arguments which will be used in construting the message.

Returns

Applies to