System.Win.Registry.TRegistry.DeleteValue

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function DeleteValue(const Name: string): Boolean;

C++

bool __fastcall DeleteValue(const System::UnicodeString Name);

Properties

Type Visibility Source Unit Parent
function public
System.Win.Registry.pas
System.Win.Registry.hpp
System.Win.Registry TRegistry

Description

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

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.

See Also