IRequestContextGetPreference Method  | 
Version 106.0.290 
            Returns the value for the preference with the specified name. Returns
            NULL if the preference does not exist. The returned object contains a copy
            of the underlying preference value and modifications to the returned object
            will not modify the underlying preference value. 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)
SyntaxObject GetPreference(
	string name
)
Object^ GetPreference(
	String^ name
)
Parameters
- name
 - Type: SystemString
preference name 
Return Value
Type: 
ObjectReturns the value for the preference with the specified name
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