RegistryKey.deleteSubKey

Overview | Methods | This Package | All Packages

RegistryKey.deleteSubKey

Deletes the specified subkey.

Syntax

public void deleteSubKey( String subkey )

Parameters

subkey

A String object that represents the subkey to delete.

Exceptions

WFCException thrown if the subkey contains any child subkeys.

Remarks

Use the deleteSubKey method to remove a subkey from the registry. To delete a tree of subkeys, use the deleteSubKeyTree method. To delete a value assigned within a subkey, use the deleteValue method.