The OpenD Programming Language

KeyNameSequence

An enumerable sequence representing the names of the sub-keys of a registry Key.

Members

Functions

getKeyName
string getKeyName(size_t index)

The name of the key at the given index.

opApply
int opApply(int delegate(ref string name) dg)
opIndex
string opIndex(size_t index)

The name of the key at the given index.

Properties

count
size_t count [@property getter]

The number of keys.

Examples

Key key = ...
foreach (string subkeyName; key.keyNames)
{
    // using subkeyName
}

Meta