次の方法で共有


IHtmlLocalizer.WithCulture(CultureInfo) メソッド

定義

注意事項

This method is obsolete. Use CurrentCulture and CurrentUICulture instead.

特定の CultureInfo の新しい IHtmlLocalizer を作成します。

public:
 Microsoft::AspNetCore::Mvc::Localization::IHtmlLocalizer ^ WithCulture(System::Globalization::CultureInfo ^ culture);
public Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer WithCulture (System.Globalization.CultureInfo culture);
[System.Obsolete("This method is obsolete. Use `CurrentCulture` and `CurrentUICulture` instead.")]
public Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer WithCulture (System.Globalization.CultureInfo culture);
abstract member WithCulture : System.Globalization.CultureInfo -> Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer
[<System.Obsolete("This method is obsolete. Use `CurrentCulture` and `CurrentUICulture` instead.")>]
abstract member WithCulture : System.Globalization.CultureInfo -> Microsoft.AspNetCore.Mvc.Localization.IHtmlLocalizer
Public Function WithCulture (culture As CultureInfo) As IHtmlLocalizer

パラメーター

culture
CultureInfo

使用する CultureInfo

戻り値

カルチャ固有の IHtmlLocalizer

属性

適用対象