Show: Delphi C++
Display Preferences

System.IniFiles.TMemIniFile.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(const FileName: string); overload;
constructor Create(const FileName: string; const Encoding: TEncoding); overload;
constructor Create(const FileName: string; const Encoding: TEncoding;  CaseSensitive: Boolean); overload; virtual;

C++

__fastcall TMemIniFile(const System::UnicodeString FileName)/* overload */;
__fastcall TMemIniFile(const System::UnicodeString FileName, System::Sysutils::TEncoding* const Encoding)/* overload */;
__fastcall virtual TMemIniFile(const System::UnicodeString FileName, System::Sysutils::TEncoding* const Encoding, bool CaseSensitive)/* overload */;

Properties

Type Visibility Source Unit Parent
constructor public
System.IniFiles.pas
System.IniFiles.hpp
System.IniFiles TMemIniFile

Description

Creates a TMemIniFile object for an application.

Call Create to instantiate a TMemIniFile object for an application. Create sets the FileName property, and loads a copy of the INI file into memory, in an internal string list.

FileName is the name of the INI file the TMemIniFile uses.

Note: On Windows, INI files are meant to be stored in the \WINDOWS directory or the application's directory. To work with an INI file in another location, specify the full path name of the file in FileName.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance