Метод | Описание | |
---|---|---|
AddProperty ( ) : void |
Adds properties to be saved/loaded
|
|
AddProperty ( |
adds a property to be saved/loaded
|
|
ClearKey ( ) : void |
Calls ClearKey(false)
|
|
ClearKey ( bool saveOnClose ) : void |
Deletes the key located at HKEY_CURRENT_USER\Software\RegKey\ RegKey is the public static parameter of this class
|
|
CloseKey ( ) : void |
Closes the registry key previously opened by OpenKey()
|
|
Closing ( object sender, System e ) : void |
Method intended for use with Form.Closing events - directly calls Save
|
|
Load ( object sender, |
loads the specified values from the registry. parameters match those needed for a Form.Load event
|
|
OpenKey ( ) : |
Opens the registry key and returns it for custom read/write
|
|
RegistryInfo ( object obj ) : System |
Constructor that uses the ToString() value of the object as the name of the constructor parameter
|
|
RegistryInfo ( object obj, string name ) : System |
Constructor that uses the name parameter as the registry key to save values under
|
|
Save ( object sender, |
Saves the specified values into the registry
|
public AddProperty ( |
||
property | ||
Результат | void |
public ClearKey ( bool saveOnClose ) : void | ||
saveOnClose | bool | if false, a future call to Save() will have no effect |
Результат | void |
public Closing ( object sender, System e ) : void | ||
sender | object | |
e | System | |
Результат | void |
public Load ( object sender, |
||
sender | object | |
e | ||
Результат | void |
public RegistryInfo ( object obj ) : System | ||
obj | object | |
Результат | System |
public RegistryInfo ( object obj, string name ) : System | ||
obj | object | the object to save/load values into the registry |
name | string | the name of the registry key to save/load |
Результат | System |
public Save ( object sender, |
||
sender | object | |
e | ||
Результат | void |