HtmlLocalizer.ToHtmlString 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
ToHtmlString(LocalizedString) |
為 建立新的 LocalizedHtmlStringLocalizedString 。 |
ToHtmlString(LocalizedString, Object[]) |
為 建立新的 LocalizedHtmlStringLocalizedString 。 |
ToHtmlString(LocalizedString)
為 建立新的 LocalizedHtmlStringLocalizedString 。
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[])
為 建立新的 LocalizedHtmlStringLocalizedString 。
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[]
值引數,用於解釋訊息。