Internet Direct (Indy)
Home
PreviousUpNext
TIdFormDataField.Destroy Destructor

Frees the object instance.

Pascal
destructor Destroy; override;

Destroy is the destructor for the object instance. Destroy checks for an assigned object instance in FieldObject, and will free and release the object instance when the internal flag is set that indicates it is managed by the collection item. 

Destroy calls the inherited destructor prior to exiting from the method. 

An object reference created and assigned to FieldObject by an application are not freed in the destructor. The application must handle that task.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.