Dela via


RequestLocalizationOptions.AddSupportedCultures(String[]) Method

Definition

Adds the set of the supported cultures by the application.

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

Parameters

cultures
String[]

The cultures to be added.

Returns

The RequestLocalizationOptions.

Applies to