Skip to content

TOwnerStream.Destroy

Destroys the TOwnerStream instance and the source stream.

Declaration

Source position: classesh.inc line 1568

public 
destructor TOwnerStream.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.