Profile.DeleteSubKey() Method

Delete a sub-key and all values and sub-keys under it.

Syntax

Profile.DeleteSubKey(SubKey)

The method syntax has these parts:

Part Description
SubKey (String) sub-key to delete (see remarks)
Return (Nothing) Does not return a value.

Remarks

SubKey may contain backslash separated path to sub-key to be deleted.
Before using this method, be sure you understand relative versus absolute SubKey values. See the Profile Object documentation for details.