Méthode | Description | |
---|---|---|
GetBool ( string keyPath, bool defaultValue ) : bool |
Gets a boolean value from the registry.
|
|
GetBoolOrNull ( string keyPath, bool defaultValue ) : bool? |
Gets an bool? value from the registry.
|
|
GetInt ( string keyPath, int defaultValue ) : int |
Gets an integer value from the registry.
|
|
GetIntOrNull ( string keyPath, int defaultValue ) : int? |
Gets an int? value from the registry.
|
|
GetString ( string keyPath, string defaultValue ) : string |
Gets a string value from the registry.
|
|
GetStringList ( string keyPath ) : List |
Gets a string list value from the registry.
|
|
MakeOwsKeyPath ( OutputStyle style, string name ) : string |
Creates a key-path for an output window style. The value will be placed under a sub-key for the style number.
|
|
SetBool ( string keyPath, bool value ) : void |
Inserts a boolean value into the registry.
|
|
SetBoolOrNull ( string keyPath, bool value ) : void |
Inserts a bool? value into the registry. If 'value' is null, then the registry value will be deleted if it exists.
|
|
SetInt ( string keyPath, int value ) : void |
Inserts an integer value into the registry.
|
|
SetIntOrNull ( string keyPath, int value ) : void |
Inserts an integer value into the registry. If 'value' is null, then the registry value will be deleted if it exists.
|
|
SetString ( string keyPath, string value ) : void |
Inserts a string value into the registry.
|
|
SetStringList ( string keyPath, IEnumerable |
Inserts a string list value into the registry.
|
Méthode | Description | |
---|---|---|
SplitKey ( string keyPath, string &keyOut, string &nameOut ) : void |
Splits a key out into the sub-key and value portions.
|
public static GetBool ( string keyPath, bool defaultValue ) : bool | ||
keyPath | string | The key-path for the value. |
defaultValue | bool | If the value does not exist, this will be returned instead. |
Résultat | bool |
public static GetBoolOrNull ( string keyPath, bool defaultValue ) : bool? | ||
keyPath | string | The key-path for the value. |
defaultValue | bool | If the value does not exist, this will be returned instead. |
Résultat | bool? |
public static GetInt ( string keyPath, int defaultValue ) : int | ||
keyPath | string | The key-path for the value. |
defaultValue | int | If the value does not exist, this will be returned instead. |
Résultat | int |
public static GetIntOrNull ( string keyPath, int defaultValue ) : int? | ||
keyPath | string | The key-path for the value. |
defaultValue | int | If the value does not exist, this will be returned instead. |
Résultat | int? |
public static GetString ( string keyPath, string defaultValue ) : string | ||
keyPath | string | The key-path for the value. |
defaultValue | string | If the value does not exist, this will be returned instead. |
Résultat | string |
public static GetStringList ( string keyPath ) : List |
||
keyPath | string | The key-path for the value. |
Résultat | List |
public static MakeOwsKeyPath ( OutputStyle style, string name ) : string | ||
style | OutputStyle | The style number. |
name | string | The value name. |
Résultat | string |
public static SetBool ( string keyPath, bool value ) : void | ||
keyPath | string | The key-path for the value. |
value | bool | The value to be inserted. |
Résultat | void |
public static SetBoolOrNull ( string keyPath, bool value ) : void | ||
keyPath | string | The key-path for the value. |
value | bool | The value to be inserted. |
Résultat | void |
public static SetInt ( string keyPath, int value ) : void | ||
keyPath | string | The key-path for the value. |
value | int | The value to be inserted. |
Résultat | void |
public static SetIntOrNull ( string keyPath, int value ) : void | ||
keyPath | string | The key-path for the value. |
value | int | The value to be inserted. |
Résultat | void |
public static SetString ( string keyPath, string value ) : void | ||
keyPath | string | The key-path for the value. |
value | string | The value to be inserted. |
Résultat | void |
public static SetStringList ( string keyPath, IEnumerable |
||
keyPath | string | The key-path for the value. |
list | IEnumerable |
The string list to be inserted. /// Will actually be saved as an XML string containing the list. |
Résultat | void |