HtmlLocalizerExtensions.GetHtml メソッド

定義

オーバーロード

GetHtml(IHtmlLocalizer, String)

特定の名前の LocalizedHtmlString リソースを取得します。

GetHtml(IHtmlLocalizer, String, Object[])

特定の名前の LocalizedHtmlString リソースを取得します。

GetHtml(IHtmlLocalizer, String)

ソース:
HtmlLocalizerExtensions.cs
ソース:
HtmlLocalizerExtensions.cs
ソース:
HtmlLocalizerExtensions.cs

特定の名前の LocalizedHtmlString リソースを取得します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Mvc::Localization::LocalizedHtmlString ^ GetHtml(Microsoft::AspNetCore::Mvc::Localization::IHtmlLocalizer ^ htmlLocalizer, System::String ^ name);
public static Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString GetHtml (this Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer htmlLocalizer, string name);
static member GetHtml : Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer * string -> Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString
<Extension()>
Public Function GetHtml (htmlLocalizer As IHtmlLocalizer, name As String) As LocalizedHtmlString

パラメーター

htmlLocalizer
IHtmlLocalizer

IHtmlLocalizer

name
String

使用するキー。

戻り値

LocalizedHtmlString リソース。

適用対象

GetHtml(IHtmlLocalizer, String, Object[])

ソース:
HtmlLocalizerExtensions.cs
ソース:
HtmlLocalizerExtensions.cs
ソース:
HtmlLocalizerExtensions.cs

特定の名前の LocalizedHtmlString リソースを取得します。

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::AspNetCore::Mvc::Localization::LocalizedHtmlString ^ GetHtml(Microsoft::AspNetCore::Mvc::Localization::IHtmlLocalizer ^ htmlLocalizer, System::String ^ name, ... cli::array <System::Object ^> ^ arguments);
public static Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString GetHtml (this Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer htmlLocalizer, string name, params object[] arguments);
static member GetHtml : Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer * string * obj[] -> Microsoft.AspNetCore.Mvc.Localization.LocalizedHtmlString
<Extension()>
Public Function GetHtml (htmlLocalizer As IHtmlLocalizer, name As String, ParamArray arguments As Object()) As LocalizedHtmlString

パラメーター

htmlLocalizer
IHtmlLocalizer

IHtmlLocalizer

name
String

使用するキー。

arguments
Object[]

文字列の書式設定に使用する値。

戻り値

LocalizedHtmlString リソース。

適用対象