System.DelphiInterface.Create
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)
プロパティ
種類 | 可視性 | ソース | ユニット | 親 |
---|---|---|---|---|
constructor | public | systobj.h | System | DelphiInterface |
説明
System.DelphiInterface のインスタンスを作成します。
System.DelphiInterface.DelphiInterface コンストラクタは、次の 3 つの方法で System.DelphiInterface を作成できるよう、オーバーロードされています:
- パラメータなしで使用される場合、System.DelphiInterface.DelphiInterface は NULL インターフェイスを作成します。
- 別の System.DelphiInterface オブジェクトと使用される場合(コピー コンストラクタ)、System.DelphiInterface.DelphiInterface は、rhs で指定されたインターフェイスの新しいコピーを作成し、基となるインターフェイスの参照カウントを増加させます。
- 基となる型のインターフェイス ポインタと使用される場合、System.DelphiInterface.DelphiInterface は、rhs で指定された基となるインターフェイスをラップし、参照カウントを増加させます。