次の方法で共有


HtmlLocalizer.WithCulture(CultureInfo) メソッド

定義

注意事項

This method is obsolete. Use CurrentCulture and CurrentUICulture instead.

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

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

パラメーター

culture
CultureInfo

使用する CultureInfo

戻り値

カルチャ固有の IHtmlLocalizer

実装

属性

適用対象