IRequestContextCanSetPreference Method  | 
Version 106.0.290 
            Returns true if the preference with the specified name can be modified
            using SetPreference. As one example preferences set via the command-line
            usually cannot be modified. This method must be called on the CEF UI thread.
            
 
    Namespace: 
   CefSharp
    Assembly:
   CefSharp (in CefSharp.dll) Version: 106.0.290.0 (106.0.290.0)
Syntaxbool CanSetPreference(
	string name
)
bool CanSetPreference(
	String^ name
)
Parameters
- name
 - Type: SystemString
preference key 
Return Value
Type: 
BooleanReturns true if the preference with the specified name can be modified
            using SetPreference
RemarksUse Cef.UIThreadTaskFactory to execute this method if required,
            
OnContextInitialized and ChromiumWebBrowser.IsBrowserInitializedChanged are both
            executed on the CEF UI thread, so can be called directly.
            When CefSettings.MultiThreadedMessageLoop == false (the default is true) then the main
            application thread will be the CEF UI thread.
See Also