KvGotoNextKey

Last Updated2007-05-07
Created At2007-05-07

Sets the current position in the KeyValues tree to the next sub key. This native does NOT add to the internal traversal stack, and thus KvGoBack() is not needed for each successive call to this function.

native bool KvGotoNextKey(Handle kv, bool keyOnly = true)

Parameters

KeyValues Handle.
bool keyOnly
If false, non-keys will be traversed (values).

Return Value

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

Error

Invalid Handle.