KvGotoFirstSubKey Function

Sets the current position in the KeyValues tree to the first sub key. This native adds to the internal traversal stack.

bool KvGotoFirstSubKey(Handle kv, bool keyOnly)

Parameters

Handle kv

KeyValues Handle.

bool keyOnly

If false, non-keys will be traversed (values).

Return Value

True on success, false if there was no first sub key.

Errors

Invalid Handle.