System.Win.Registry.TRegistry.Create

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

Delphi

constructor Create; overload;
constructor Create(AAccess: LongWord); overload;

C++

__fastcall TRegistry()/* overload */;
__fastcall TRegistry(System::LongWord AAccess)/* overload */;

プロパティ

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

説明

Create は,アプリケーションの TRegistry オブジェクトを作成します。

Create は,TRegistry オブジェクトをインスタンス化して,RootKey プロパティを HKEY_CURRENT_USER に,LazyWrite プロパティを true に設定します。AAccess パラメータが指定されている場合,この値によって Access プロパティが初期化されます。AAccess パラメータが指定されていない場合,Access プロパティは KEY_ALL_ACCESS に初期化されます。

関連項目