EmulationClientSetLocaleOverrideAsync Method |
Version 104.4.240
Overrides default host system locale with the specified one.
Namespace:
CefSharp.DevTools.Emulation
Assembly:
CefSharp (in CefSharp.dll) Version: 104.4.240.0 (104.4.240.0)
Syntax public Task<DevToolsMethodResponse> SetLocaleOverrideAsync(
string locale = null
)
public:
Task<DevToolsMethodResponse^>^ SetLocaleOverrideAsync(
String^ locale = nullptr
)
Parameters
- locale (Optional)
- Type: SystemString
ICU style C locale (e.g. "en_US"). If not specified or empty, disables the override andrestores default host system locale.
Return Value
Type:
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also