RequestLocalizationOptions.DefaultRequestCulture 属性

定义

获取或设置当支持的区域性无法由配置的 IRequestCultureProvider之一确定时用于请求的默认区域性。 默认为 CurrentCultureCurrentUICulture

public:
 property Microsoft::AspNetCore::Localization::RequestCulture ^ DefaultRequestCulture { Microsoft::AspNetCore::Localization::RequestCulture ^ get(); void set(Microsoft::AspNetCore::Localization::RequestCulture ^ value); };
public Microsoft.AspNetCore.Localization.RequestCulture DefaultRequestCulture { get; set; }
member this.DefaultRequestCulture : Microsoft.AspNetCore.Localization.RequestCulture with get, set
Public Property DefaultRequestCulture As RequestCulture

属性值

适用于