RequestLocalizationOptions.AddSupportedCultures(String[]) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.