Declaration¶
Source position: objpash.inc line 380
type
TInterfacedObject = class(TObject, IUnknown)
public
destructor Destroy;
procedure AfterConstruction;
procedure BeforeDestruction;
class function NewInstance : TObject;
property RefCount: LongInt; {r}
end;
Properties¶
| Member | Visibility | Description |
|---|---|---|
| RefCount read only | public | Return the current reference count. |
Methods¶
| Member | Visibility | Description |
|---|---|---|
| AfterConstruction | public | Handle reference count properly. |
| BeforeDestruction | public | Check reference count. |
| Destroy | public | Destroy interfaced object. |
| NewInstance | public | Create a new instance. |