System.Win.Registry.TRegistry.ValueExists

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function ValueExists(const Name: string): Boolean;

C++

bool __fastcall ValueExists(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

Determines if a specified data value exists for the current key.

Call ValueExists to determine if a particular data item exists in the registry. Calling ValueExists is especially useful before calling other TRegistry methods that operate only on existing data items.

Name is the name of the data value for which to check.

ValueExists returns true if a match if found, false otherwise.

See Also