CefApp OnBeforeCommandLineProcessing Method Xilium.CefGlue

[This is preliminary documentation and is subject to change.]

Provides an opportunity to view and/or modify command-line arguments before processing by CEF and Chromium. The |process_type| value will be empty for the browser process. Do not keep a reference to the CefCommandLine object passed to this method. The CefSettings.command_line_args_disabled value can be used to start with an empty command-line object. Any values specified in CefSettings that equate to command-line arguments will be set before this method is called. Be cautious when using this method to modify command-line arguments for non-browser processes as this may result in undefined behavior including crashes.

Namespace: Xilium.CefGlue
Assembly: Xilium.CefGlue (in Xilium.CefGlue.dll) Version: 3.2272.2035.0 (3.2272.2035.0)
Syntax

protected virtual void OnBeforeCommandLineProcessing(
	string processType,
	CefCommandLine commandLine
)

Parameters

processType
Type: OnlineSystem String

[Missing <param name="processType"/> documentation for "M:Xilium.CefGlue.CefApp.OnBeforeCommandLineProcessing(System.String,Xilium.CefGlue.CefCommandLine)"]

commandLine
Type: Xilium.CefGlue CefCommandLine

[Missing <param name="commandLine"/> documentation for "M:Xilium.CefGlue.CefApp.OnBeforeCommandLineProcessing(System.String,Xilium.CefGlue.CefCommandLine)"]

See Also