[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Classes' (#rtl)

TRecall.Destroy

Copies the stored properties to the reference object and destroys the TRecallinstance.

Declaration

Source position: classesh.inc line 335

public destructor TRecall.Destroy; override;

Description

Destroyassigns the storage instance to the reference instance, if the latter is still valid. After this, it frees the storage and calls the inherited destroy.

Errors

Destroydoes not check whether the referenceinstance is still valid. If the reference pointer was invalidated, call TRecall.Forgetto clear the reference instance.

See also

TRecall.Store

  

Assigns the reference instance to the storage instance.

TRecall.Forget

  

Clear the reference property.