[This is preliminary documentation and is subject to change.]
Request that the browser close. The JavaScript 'onbeforeunload' event will
be fired. If |force_close| is false the event handler, if any, will be
allowed to prompt the user and the user can optionally cancel the close.
If |force_close| is true the prompt will not be displayed and the close
will proceed. Results in a call to CefLifeSpanHandler::DoClose() if the
event handler allows the close or if |force_close| is true. See
CefLifeSpanHandler::DoClose() documentation for additional usage
information.
Namespace: Xilium.CefGlueAssembly: Xilium.CefGlue (in Xilium.CefGlue.dll) Version: 3.2272.2035.0 (3.2272.2035.0)
Syntax
Parameters
- forceClose (Optional)
- Type: System Boolean
[Missing <param name="forceClose"/> documentation for "M:Xilium.CefGlue.CefBrowserHost.CloseBrowser(System.Boolean)"]
See Also