RegistryItem.Delete

From Xojo Documentation

Method

RegistryItem.Delete(Name as String)

Supported for all project types and targets.

Deletes the passed RegistryItem.