API:System.Win.ComObj.TConnectionPoint.Create

De RAD Studio API Documentation
Aller à : navigation, rechercher

Delphi

constructor Create(Container: TConnectionPoints;
const IID: TGUID; Kind: TConnectionKind; OnConnect: TConnectEvent);

C++

__fastcall TConnectionPoint(TConnectionPoints* Container, const GUID &IID, TConnectionKind Kind, TConnectEvent OnConnect);

Propriétés

Type Visibilité  Source Unité  Parent
constructor public
System.Win.ComObj.pas
System.Win.ComObj.hpp
System.Win.ComObj TConnectionPoint

Description

Instancie un objet agrégé.

System.Win.ComObj.TConnectionPoint.Create hérite de System.TAggregatedObject.Create. Tout le contenu en-dessous de cette ligne se réfère à System.TAggregatedObject.Create.

Instancie un objet agrégé.

Appelez Create pour instancier un objet agrégé à l'exécution.

Create alloue la mémoire d'un objet agrégé et initialise la propriété Controller avec la valeur transmise dans le paramètre Controller. Le contrôleur (Controller) désigne l'interface contrôleur de l'agrégat. Toutes les autres interfaces implémentées dans l'agrégat délèguent les appels de méthode IInterface à ce Controller.

Voir aussi