CefInitialize Method (CefSettingsBase) |
Version 85.3.121
Initializes CefSharp with user-provided settings.
It's important to note that Initialize and Shutdown MUST be called on your main
application thread (typically the UI thread). If you call them on different
threads, your application will hang. See the documentation for Cef.Shutdown() for more details.
Namespace:
CefSharp
Assembly:
CefSharp.Core (in CefSharp.Core.dll) Version: 85.3.121.0
Syntax public static bool Initialize(
CefSettingsBase cefSettings
)
public:
static bool Initialize(
CefSettingsBase^ cefSettings
)
Parameters
- cefSettings
- Type: CefSharpCefSettingsBase
CefSharp configuration settings.
Return Value
Type:
Booleantrue if successful; otherwise, false.
See Also