System.IniFiles.TCustomIniFile.SectionExists

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

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

C++

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

Propriétés

Type Visibilité  Source Unité  Parent
function public
System.IniFiles.pas
System.IniFiles.hpp
System.IniFiles TCustomIniFile

Description

Indique si une section existe dans le fichier ini.

La méthode SectionExists permet de déterminer si une section existe dans le fichier ini spécifié par FileName.

Section indique la section de fichier ini dont SectionExists détermine l'existence.

SectionExists renvoie une valeur booléenne indiquant si la section spécifiée existe.

Voir aussi