TOwnerStream.Destroy

Destroys the TOwnerStream instance and the source stream.

Declaration

Source position: classesh.inc line 1152

public 
  destructor Destroy;  Override;

Description

Destroy frees the source stream if the SourceOwner property is True.

See also

Name Description
TOwnerStream.Create Create a new instance of TOwnerStream.
TOwnerStream.Source Reference to the source stream.
TOwnerStream.SourceOwner Indicates whether the ownerstream owns it's source