RegistryKey.DeleteSubKeyTree Method

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Deletes a subkey and any child subkeys recursively, with optional exception handling.

Namespace:   Microsoft.Win32
Assembly:  mscorlib (in mscorlib.dll)

NameDescription
System_CAPS_pubmethodDeleteSubKeyTree(String)

Deletes a subkey and any child subkeys recursively.

System_CAPS_pubmethodDeleteSubKeyTree(String, Boolean)

Deletes the specified subkey and any child subkeys recursively, and specifies whether an exception is raised if the subkey is not found.

Return to top
Show: