API:System.Win.Registry.TRegIniFile.Create
Delphi
constructor Create(const FileName: string); overload;
constructor Create(const FileName: string; AAccess: LongWord); overload;
C++
__fastcall TRegIniFile(const System::UnicodeString FileName)/* overload */;
__fastcall TRegIniFile(const System::UnicodeString FileName, unsigned AAccess)/* overload */;
/* TRegistry.Create */ inline __fastcall TRegIniFile()/* overload */ : TRegistry() { }
/* TRegistry.Create */ inline __fastcall TRegIniFile(unsigned AAccess)/* overload */ : TRegistry(AAccess) { }
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | System.Win.Registry.pas System.Win.Registry.hpp |
System.Win.Registry | TRegIniFile |
Description
Creates a TRegistry object for an application.
System.Win.Registry.TRegIniFile.Create inherits from System.Win.Registry.TRegistry.Create. All content below this line refers to System.Win.Registry.TRegistry.Create.
Creates a TRegistry object for an application.
Create instantiates a TRegistry object and sets the RootKey property to HKEY_CURRENT_USER and the LazyWrite property to true. If an AAccess parameter is supplied, this value is used to initialize the Access property. Otherwise, Access is initialized to KEY_ALL_ACCESS.
See Also
Code Examples