RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TRegistryIniFile.Create Constructor (string)

Creates a TRegistryIniFile object for an application.

Pascal
constructor Create(const FileName: string); overload;
constructor Create(const FileName: string; AAccess: LongWord); overload;
C++
__fastcall TRegistryIniFile(const AnsiString FileName);
__fastcall TRegistryIniFile(const AnsiString FileName, LongWord AAccess);

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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!