CorLib  

RegistryKey

RegistryKey overview

Implements:

IObject 

Public:

Types:
RegistryValueKind The value types that can be set and retrieved from the Registry.  
RegistryValueOptions 
Properties:
Name (get) Returns the name of the key.  
SubKeyCount (get) Returns the number of SubKeys within the current key.  
ValueCount (get) Returns the number of values within the current key.  
Methods:
CloseKey Closes the RegistryKey object.  
CreateSubKey Creates a new Windows Registry node.  
DeleteSubKey Deletes a node from the Windows Registry.  
DeleteSubKeyTree Deletes all SubKeys within the specified SubKey to delete.  
DeleteValue Deletes the value from the registry.  
Equals Returns a boolean indicating if the value and this object instance are the same instance.  
Flush Flushes any changes to the Windows Registry back to disk.  
GetHashCode Returns a pseudo-unique number identifying this instance.  
GetLastWriteTime Returns the last time the subkey was written to.  
GetSubKeyNames Returns a list of SubKey names within the current SubKey.  
GetValue Returns the value of a key within a SubKey.  
GetValueKind Returns the type of value stored in the registry.  
GetValueNames Returns a list of value names within the current SubKey.  
OpenSubKey Returns a RegistryKey of the requested SubKey with the write permission specified.  
SetValue Sets the value of a key value within the SubKey.  
ToString Returns a string representation of this object instance.  

See Also