Click or drag to resize

RequestContextHandlerSetPreferenceOnContextInitialized Method

Version 93.1.111
Sets the preferences when the OnRequestContextInitialized(IRequestContext) method is called. If value is null the preference will be restored to its default value. Preferences set via the command-line usually cannot be modified.

Namespace:  CefSharp.Handler
Assembly:  CefSharp (in CefSharp.dll) Version: 93.1.111.0 (93.1.111.0)
Syntax
public RequestContextHandler SetPreferenceOnContextInitialized(
	string name,
	Object value
)

Parameters

name
Type: SystemString
preference name
value
Type: SystemObject
preference value

Return Value

Type: RequestContextHandler
A RequestContextHandler instance allowing you to chain multiple AddPreference calls together
See Also