System.DelphiInterface.Create

De RAD Studio API Documentation
Aller à : navigation, rechercher

C++

__fastcall DelphiInterface<T>() : intf(0)
__fastcall DelphiInterface<T>(const DelphiInterface<ANOTHERINTF> &rhs) : intf(0)
__fastcall DelphiInterface<T>(const DelphiInterface<T> &rhs)
__fastcall DelphiInterface<T>(T* rhs)

Propriétés

Type Visibilité  Source Unité  Parent
constructor public systobj.h System DelphiInterface

Description

Crée une instance de System.DelphiInterface.

Le constructeur de System.DelphiInterface.DelphiInterface est surchargé pour créer un objet System.DelphiInterface de trois manières différentes :

  • Utilisé sans paramètre, System.DelphiInterface.DelphiInterface crée une interface NULL.
  • Utilisé avec un autre objet System.DelphiInterface (le constructeur de copie), System.DelphiInterface.DelphiInterface crée une nouvelle copie de l'interface spécifiée par rhs, en incrémentant le compteur de références de l'interface sous-jacente.
  • Utilisé avec un pointeur d'interface du type sous-jacent, System.DelphiInterface.DelphiInterface encapsule l'interface sous-jacente spécifiée par rhs et incrémente son compteur de références.