API:System.Win.VCLCom.TComponentFactory

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

System.Win.ComObj.TAutoObjectFactorySystem.Win.ComObj.TTypedComObjectFactorySystem.Win.ComObj.TComObjectFactorySystem.TObjectTComponentFactory

Delphi

TComponentFactory = class(TAutoObjectFactory, IClassFactory)

C++

class PASCALIMPLEMENTATION TComponentFactory : public System::Win::Comobj::TAutoObjectFactory

プロパティ

種類 可視性 ソース ユニット
class public
System.Win.VCLCom.pas
System.Win.VCLCom.hpp
System.Win.VCLCom System.Win.VCLCom

説明

TAutoObjectFactoryTAutoObject のクラスファクトリです。

System.Win.VCLCom.TComponentFactory は System.Win.ComObj.TAutoObjectFactory を継承しています。以下の内容はすべて System.Win.ComObj.TAutoObjectFactory を参照しています。

TAutoObjectFactoryTAutoObject のクラスファクトリです。

TAutoObjectFactory は,TAutoObject クラスのインスタンスを作成します。また,作成したすべてのオートメーションオブジェクトのインスタンスの機能を管理するメソッドを持っています。

TAutoObjectFactory は,IClassFactory インターフェースおよび IClassFactory2 インターフェースのサポートを継承します。

メモ:  Delphi アプリケーションでは,オートメーションオブジェクトは COM オブジェクトです。つまり,COM オブジェクトが実現されるモジュールは,システムがオートメーションオブジェクトを作成できるようにファクトリオブジェクトを提供しなければなりません。オートメーションオブジェクトファクトリをプログラムに追加するには,オートメーションオブジェクトを定義するユニットの initialization セクションでファクトリオブジェクトを作成してください。COM ファクトリの詳細は,TComObjectFactory を参照してください。

関連項目