ZennoLab Assemblies Documentation
SetBrowserPreference Method
ZennoLab.CommandCenter Namespace > Instance Class : SetBrowserPreference Method

Type: ZennoLab.InterfacesLibrary.Enums.Browser.WindowPreference

The name of preference.

Type: System.Object

The value of preference.

Sets the broswer preference. The method needs isolated process, because it is applied to all instances in the process.
Syntax
public bool SetBrowserPreference( 
   string name,
   object value
)

Parameters

name

Type: ZennoLab.InterfacesLibrary.Enums.Browser.WindowPreference

The name of preference.

value

Type: System.Object

The value of preference.

Return Value

Type: System.Boolean

True if the preference successfully setted, otherwise false.

Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

Instance Class
Instance Members