メインメニューを開く

RAD Studio API Documentation β

System.Win.Registry.TRegistry.KeyExists

Delphi

function KeyExists(const Key: string): Boolean;

C++

bool __fastcall KeyExists(const System::UnicodeString Key);

プロパティ

種類 可視性 ソース ユニット
function public
System.Win.Registry.pas
System.Win.Registry.hpp
System.Win.Registry TRegistry

説明

指定したキーが存在するかどうかを示します。

KeyExists メソッドを呼び出すと,指定した名前のキーがあるかどうかがわかります。Key は検索するキーの名前です。

関連項目