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: 2024.1.1.0 (2024.1.1.0)
Syntax
C#
public bool SetPreference(
	string name,
	CefValue value,
	out string error
)

Parameters

name
Type: SystemString
value
Type: Internal.Xilium.CefGlueCefValue
error
Type: SystemString

Return Value

Type: Boolean
See Also