RequestContextBuilderWithPreference Method |
Version 130.1.90
Set the value associated with preference name when the RequestContext
is initialzied. If value is null the preference will be restored to its
default value. If setting the preference fails no error is throw, you
must check the CEF Log file.
Preferences set via the command-line usually cannot be modified.
Namespace: CefSharpAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax public RequestContextBuilder WithPreference(
string name,
Object value
)
public:
RequestContextBuilder^ WithPreference(
String^ name,
Object^ value
)
Parameters
- name String
- preference key
- value Object
- preference value
Return Value
RequestContextBuilderReturns RequestContextBuilder instance
See Also