IStringLocalizer.WithCulture(CultureInfo) メソッド

定義

注意事項

This method is obsolete. Use CurrentCulture and CurrentUICulture instead.

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

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

パラメーター

culture
CultureInfo

使用する CultureInfo

戻り値

IStringLocalizer

カルチャ固有の IStringLocalizer

属性

適用対象