메소드 | 설명 | |
---|---|---|
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 Load ( object sender, |
||
sender | object | |
e | ||
리턴 | void |
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 |