DeleteKey

$

key


->DeleteKey(


subkey


)

Deletes a subkey of the current key. This function will delete all values in the subkey and the subkey itself. A key cannot be deleted if it contains any subkeys.