HtmlLocalizer.ToHtmlString Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- result
- LocalizedString
The LocalizedString.
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
- result
- LocalizedString
The LocalizedString.
- arguments
- Object[]
The value arguments which will be used in construting the message.