System.Win.Registry.TRegistry.CurrentPath

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property CurrentPath: string read FCurrentPath;

C++

__property System::UnicodeString CurrentPath = {read=FCurrentPath};

Properties

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

Description

Indicates the registry path associated with the current key.

Use CurrentPath to determine the registry path of the current key. The system registry is hierarchical, and CurrentPath returns a string that spells out the hierarchy of keys from the root key to the current key, inclusive.

CurrentPath is automatically reset each time a different key becomes the current key.

See Also