System.IniFiles.TMemIniFile.ValueExists
Delphi
function ValueExists(const Section, Ident: string): Boolean; override;
C++
virtual bool __fastcall ValueExists(const System::UnicodeString Section, const System::UnicodeString Ident);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.IniFiles.pas System.IniFiles.hpp |
System.IniFiles | TMemIniFile |
Description
Indicates whether a key exists in the ini file.
System.IniFiles.TMemIniFile.ValueExists inherits from System.IniFiles.TCustomIniFile.ValueExists. All content below this line refers to System.IniFiles.TCustomIniFile.ValueExists.
Indicates whether a key exists in the ini file.
Use ValueExists to determine whether a key exists in the ini file specified in FileName.
Section is the section in the ini file in which to search for the key.
Ident is the name of the key to search for.
ValueExists returns a boolean value that indicates whether the key exists in the specified section.