Disposes of an object instance.
destructor Destroy; override;
virtual __fastcall ~TMultiRecordActionRequestImpl();
Do not call System::TObject::Destroy directly. Call System::TObject::Free instead. Free verifies that the object reference is not nil before calling System::TObject::Destroy.
The System::TObject::Destroy method defined by System::TObject deallocates memory. Descendant objects usually define a destructor that is customized for that particular kind of object.
When declaring a System::TObject::Destroy method in a descendant, always add the override directive to the declaration and call the inherited System::TObject::Destroy as the last statement in the overriding method. Since System::TObject::Destroy is a virtual method, overriding it ensures that the proper inherited behavior occurs.
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!