RequestContextHandlerSetPreferenceOnContextInitialized Method |
Version 130.1.90
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.HandlerAssembly: CefSharp (in CefSharp.dll) Version: 129.0.110.0 (129.0.110.0)
Syntax public RequestContextHandler SetPreferenceOnContextInitialized(
string name,
Object value
)
public:
RequestContextHandler^ SetPreferenceOnContextInitialized(
String^ name,
Object^ value
)
Parameters
- name String
- preference name
- value Object
- preference value
Return Value
RequestContextHandlerA
RequestContextHandler instance allowing you to chain multiple AddPreference calls together
See Also