System.Win.Registry.TRegistry.Create
Delphi
constructor Create; overload;
constructor Create(AAccess: LongWord); overload;
C++
__fastcall TRegistry()/* overload */;
__fastcall TRegistry(unsigned 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 に初期化されます。