System.IniFiles.TMemIniFile.SectionExists

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function SectionExists(const Section: string): Boolean; override;

C++

virtual bool __fastcall SectionExists(const System::UnicodeString Section);

Properties

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

Description

Indicates whether a section exists in the ini file.

System.IniFiles.TMemIniFile.SectionExists inherits from System.IniFiles.TCustomIniFile.SectionExists. All content below this line refers to System.IniFiles.TCustomIniFile.SectionExists.

Indicates whether a section exists in the ini file.

Use SectionExists to determine whether a section exists within the ini file specified in FileName.

Section is the ini file section which SectionExists determines the existence of.

SectionExists returns a Boolean value that indicates whether the section in question exists.

See Also