Bagikan melalui


RequestLocalizationOptions.AddSupportedCultures(String[]) Metode

Definisi

Menambahkan set budaya yang didukung oleh aplikasi.

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

Parameter

cultures
String[]

Budaya yang akan ditambahkan.

Mengembalikan

RequestLocalizationOptions.

Berlaku untuk