NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

RegistryKey Members

Public:

Properties

Name Retrieves the name of the key.
SubKeyCount Retrieves the count of subkeys.
ValueCount Retrieves the count of values in the key.

Methods

Close Closes this key and flushes it to disk if the contents have been modified.
CreateSubKey Creates a new subkey or opens an existing subkey. The string subKey is not case sensitive.
DeleteSubKey Deletes the specified subkey. To delete child subkeys, use DeleteSubKeyTree. The string subKey is not case sensitive.
DeleteSubKeyTree Recursively deletes a subkey and any child subkeys. The string subKey is not case sensitive.
DeleteValue Deletes the specified value from this key. The string subKey is not case sensitive.
Equals (inherited from Object) Determines whether the specified Object is the same instance as the current Object. Subclasses are expected to override this method to support value equality (not reference equality).
GetHashCode (inherited from Object) Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table.
GetSubKeyNames Retrieves an array of strings containing all the subkey names.
GetType (inherited from Object) Gets the Type of the Object.
GetValue Overloaded. Retrieves the specified value.
GetValueNames Retrieves an array of strings containing all the value names.
OpenRemoteBaseKey Opens a new RegistryKey that represents the requested key on a foreign machine.
OpenSubKey Overloaded. Retrieves a subkey.
SetValue Sets the specified value. The string subKey is not case sensitive.
ToString Retrieves a string representation of this key.

Protected:

Methods

Finalize [To be supplied.]
MemberwiseClone (inherited from Object) Creates a shallow copy of the current Object.

See Also

RegistryKey Class | Microsoft.Win32 Namespace