System.IniFiles.TCustomIniFile.SectionExists

提供: RAD Studio API Documentation
移動先: 案内検索

Delphi

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

C++

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

プロパティ

種類 可視性 ソース ユニット
function public
System.IniFiles.pas
System.IniFiles.hpp
System.IniFiles TCustomIniFile

説明

INI ファイルにセクションが存在するかどうかを示します。

SectionExists メソッドを使用すると,FileName で指定した INI ファイル内にセクションが存在するかどうかがわかります。

Section は,SectionExists が存在することを決定する,INI ファイルのセクションです。

SectionExists は Boolean 値を返して,対象のセクションが存在するかどうかを示します。

関連項目