Method SetPreference
SetPreference(String, Boolean)
Sets a preference on the local machine
Declaration
public static void SetPreference(string pref, bool value)
Parameters
Type | Name | Description |
---|---|---|
System.String | pref | The preference name |
System.Boolean | value | The valye of the preference |
SetPreference(String, Int32)
Sets a preference on the local machine
Declaration
public static void SetPreference(string pref, int value)
Parameters
Type | Name | Description |
---|---|---|
System.String | pref | The preference name |
System.Int32 | value | The valye of the preference |
SetPreference(String, String)
Sets a preference on the local machine
Declaration
public static void SetPreference(string pref, string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | pref | The preference name |
System.String | value | The valye of the preference |