RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRegistry.DeleteValue Method

Erases a data value that is associated with the current key.

Pascal
function DeleteValue(const Name: string): Boolean;
C++
__fastcall Boolean DeleteValue(const AnsiString Name);

Call DeleteValue to remove a specific data value associated with the current key. Name is string containing the name of the value to delete. Keys can contain multiple data values, and every value associated with a key has a unique name. 

DeleteValue returns true if the deletion is successful, false if the deletion fails. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!