RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomIniFile.SectionExists Method

Indicates whether a section exists in the ini file.

Pascal
function SectionExists(const Section: string): Boolean;
C++
__fastcall Boolean SectionExists(const AnsiString Section);

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

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

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

 

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