메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
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. |
리턴 | 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. |
리턴 | 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. |
리턴 | 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. |
리턴 | 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. |
리턴 | string |
public static GetStringList ( string keyPath ) : List |
||
keyPath | string | The key-path for the value. |
리턴 | List |
public static MakeOwsKeyPath ( OutputStyle style, string name ) : string | ||
style | OutputStyle | The style number. |
name | string | The value name. |
리턴 | string |
public static SetBool ( string keyPath, bool value ) : void | ||
keyPath | string | The key-path for the value. |
value | bool | The value to be inserted. |
리턴 | void |
public static SetBoolOrNull ( string keyPath, bool value ) : void | ||
keyPath | string | The key-path for the value. |
value | bool | The value to be inserted. |
리턴 | void |
public static SetInt ( string keyPath, int value ) : void | ||
keyPath | string | The key-path for the value. |
value | int | The value to be inserted. |
리턴 | void |
public static SetIntOrNull ( string keyPath, int value ) : void | ||
keyPath | string | The key-path for the value. |
value | int | The value to be inserted. |
리턴 | void |
public static SetString ( string keyPath, string value ) : void | ||
keyPath | string | The key-path for the value. |
value | string | The value to be inserted. |
리턴 | 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. |
리턴 | void |