2021年12月14日 星期二

Using Reference Counting Assign AssignTo

 Making the Assignment (賦值操作)
Most VCL components don't implement any support for assignment between instances.
Most VCL helper classes - TPersistent descendants intended for use as properties in components, such as TFont, TPen,
and TBrush - do support assignment.
A few special classes, such as TClipboard, contain extensive assignment support.
大部份的VCL元件不實作任何支援物件間的賦值操作.

https://docwiki.embarcadero.com/Libraries/Sydney/en/System.Classes.TPersistent.Assign
System.Classes.TPersistent.Assign

https://docwiki.embarcadero.com/RADStudio/Sydney/en/Using_Reference_Counting
Using Reference Counting

https://docwiki.embarcadero.com/RADStudio/Alexandria/en/Implementing_Interfaces#Implementing_Interfaces_by_Delegation
Implementing Interfaces by Delegation

https://stackoverflow.com/questions/22649433/delphi-interface-reference-counting
Delegating to an Interface-Type Property

https://docwiki.embarcadero.com/Libraries/Sydney/en/System.SysUtils.Supports
System.SysUtils.Supports