RequestLocalizationOptions.AddSupportedCultures(String[]) 方法

定义

添加应用程序支持的区域性集。

public:
 Microsoft::AspNetCore::Builder::RequestLocalizationOptions ^ AddSupportedCultures(... cli::array <System::String ^> ^ cultures);
public Microsoft.AspNetCore.Builder.RequestLocalizationOptions AddSupportedCultures (params string[] cultures);
member this.AddSupportedCultures : string[] -> Microsoft.AspNetCore.Builder.RequestLocalizationOptions
Public Function AddSupportedCultures (ParamArray cultures As String()) As RequestLocalizationOptions

参数

cultures
String[]

要添加的区域性。

返回

RequestLocalizationOptions

适用于