System.IniFiles.TCustomIniFile.SectionExists

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

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 TCustomIniFile

Description

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