Key

This class represents a registry key.

Destructor

A destructor is present on this object, but not explicitly documented in the source.

Members

Functions

createKey
Key createKey(string name, REGSAM access)

Returns the named sub-key of this key.

deleteKey
void deleteKey(string name, REGSAM access)

Deletes the named key.

deleteValue
void deleteValue(string name)

Deletes the named value.

flush
void flush()

Flushes any changes to the key to disk.

getKey
Key getKey(string name, REGSAM access)

Returns the named sub-key of this key.

getValue
Value getValue(string name)

Returns the named value. If name is the empty string, then the default value is returned.

setValue
void setValue(string name, uint value)

Sets the named value with the given 32-bit unsigned integer value.

setValue
void setValue(string name, uint value, Endian endian)

Sets the named value with the given 32-bit unsigned integer value, according to the desired byte-ordering.

setValue
void setValue(string name, ulong value)

Sets the named value with the given 64-bit unsigned integer value.

setValue
void setValue(string name, string value)

Sets the named value with the given string value.

setValue
void setValue(string name, string value, bool asEXPAND_SZ)

Sets the named value with the given string value.

setValue
void setValue(string name, string[] value)

Sets the named value with the given multiple-strings value.

setValue
void setValue(string name, byte[] value)

Sets the named value with the given binary value.

Properties

keyCount
size_t keyCount [@property getter]

The number of sub keys.

keyNames
KeyNameSequence keyNames [@property getter]

An enumerable sequence of the names of all the sub-keys of this key.

keys
KeySequence keys [@property getter]

An enumerable sequence of all the sub-keys of this key.

name
string name [@property getter]

The name of the key

valueCount
size_t valueCount [@property getter]

The number of values.

valueNames
ValueNameSequence valueNames [@property getter]

An enumerable sequence of the names of all the values of this key.

values
ValueSequence values [@property getter]

An enumerable sequence of all the values of this key.

Meta