System.Win.Registry.TRegistryIniFile.Create
Delphi
constructor Create(const FileName: string); overload;
constructor Create(const FileName: string; AAccess: LongWord); overload;
C++
__fastcall TRegistryIniFile(const System::UnicodeString FileName)/* overload */;
__fastcall TRegistryIniFile(const System::UnicodeString FileName, unsigned AAccess)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
constructor | public | System.Win.Registry.pas System.Win.Registry.hpp |
System.Win.Registry | TRegistryIniFile |
Description
Creates a TRegistryIniFile object for an application.
Create constructs a TRegistryIniFile and creates an internal TRegIniFile object used to access the system registry. TRegistryIniFile uses this TRegIniFile object as a helper object to provide much of its functionality.
FileName is used as the FileName property for the internal TRegIniFile object in the RegIniFile property.
AAccess initializes the Access property of the internal TRegIniFile object.