HtmlLocalizer.ToHtmlString 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
ToHtmlString(LocalizedString) | |
ToHtmlString(LocalizedString, Object[]) |
ToHtmlString(LocalizedString)
- Source:
- HtmlLocalizer.cs
- Source:
- HtmlLocalizer.cs
- Source:
- HtmlLocalizer.cs
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
参数
- result
- LocalizedString
返回
适用于
ToHtmlString(LocalizedString, Object[])
- Source:
- HtmlLocalizer.cs
- Source:
- HtmlLocalizer.cs
- Source:
- HtmlLocalizer.cs
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
参数
- result
- LocalizedString
- arguments
- Object[]
将用于解释消息的值参数。