procedure DeleteKey(const Section, Ident: string);
HIDESBASE void __fastcall DeleteKey(const System::UnicodeString Section, const System::UnicodeString Ident);
Erases a data value that is associated with a key.
Call DeleteKey to erase a data value associated with a key. Section is string containing the name of the system registry key containing the value to delete. Ident is a string containing the name of the data value to delete.
Note: DeleteKey for TRegIniFile obscures the DeleteKey method of TRegistry, from which TRegIniFile descends. You can access TRegistry's DeleteKey method by casting the call to DeleteKey as type TRegistry, or by using the scope resolution operator.