Click or drag to resize

CefRequestContextSetPreference Method

Set the |value| associated with preference |name|. Returns true if the value is set successfully and false otherwise. If |value| is NULL the preference will be restored to its default value. If setting the preference fails then |error| will be populated with a detailed description of the problem. This method must be called on the browser process UI thread.

Namespace: Internal.Xilium.CefGlue
Assembly: NeoAxis.Core (in NeoAxis.Core.dll) Version: 2026.1.1.0 (2026.1.1.0)
Syntax
C#
public bool SetPreference(
	string name,
	CefValue value,
	out string error
)

Parameters

name  String
 
value  CefValue
 
error  String
 

Return Value

Boolean
See Also