IRegistryKey Interface

Inherited from

IDispatch

IUnknown

Applies to Objects

RegistryKey

The IRegistryKey interface is useful for system registry operations.

Property/Method

Description

ComputerName

Gets the name of the computer on which a key exists

IsContainer

Returns True if an object is a key and False if it is a value

KeyValue

Gets or sets data for the value of a key. It creates a new value if it does not exist. The data types supported include DWORD, BINARY, STRING and multiple STRINGS

RelativePath

Gets the complete relative path

Rename

Renames a key or value

RootKey

Gets the root key under which a key exists. This can be one of the two hive names, HKEY_LOCAL_MACHINE or HKEY_USERS