RequestLocalizationOptions.SetDefaultCulture(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.
Set the default culture which is used by the application when a supported culture could not be determined by one of the configured IRequestCultureProviders.
public:
Microsoft::AspNetCore::Builder::RequestLocalizationOptions ^ SetDefaultCulture(System::String ^ defaultCulture);
public Microsoft.AspNetCore.Builder.RequestLocalizationOptions SetDefaultCulture (string defaultCulture);
member this.SetDefaultCulture : string -> Microsoft.AspNetCore.Builder.RequestLocalizationOptions
Public Function SetDefaultCulture (defaultCulture As String) As RequestLocalizationOptions
Parameters
- defaultCulture
- String
The default culture to be set.
Returns
The RequestLocalizationOptions.