System.Classes.ComponentPlatformsAttribute.Create

提供: RAD Studio API Documentation
2011年10月18日 (火) 01:26時点におけるPyBot (トーク | 投稿記録)による版 (ページの作成: {{#lst:API:System.Classes.ComponentPlatformsAttribute.Create|api}} ==説明== {{#lsth:API:System.Classes.ComponentPlatformsAttribute.Create|説明}})
(差分) ← 古い版 | 最新版 (差分) | 新しい版 → (差分)
移動先: 案内検索

Delphi

constructor Create(const Platforms: TPlatformIds);

C++

__fastcall ComponentPlatformsAttribute(const unsigned Platforms);

プロパティ

種類 可視性 ソース ユニット
constructor public
System.Classes.pas
System.Classes.hpp
System.Classes ComponentPlatformsAttribute

説明

オブジェクトを作成し,そのオブジェクトが最初に使用される前にデータを初期化します。

System.Classes.ComponentPlatformsAttribute.Create は System.TObject.Create を継承しています。以下の内容はすべて System.TObject.Create を参照しています。

オブジェクトを作成し,そのオブジェクトが最初に使用される前にデータを初期化します。

Create はオブジェクトを構築します。オブジェクトの目的,サイズ,および動作はそれぞれ大きく異なります。TObject で定義されている Create コンストラクタは,メモリの割り当ては行いますがデータの初期化は行いません。

下位オブジェクトは通常,指定のオブジェクトを作成し,そのデータを初期化するコンストラクタを定義します。

メモ:  コンストラクタが発生した例外を処理しない場合,オブジェクトのデストラクタが呼び出されて失敗したインスタンスを破棄します。

関連項目