Unit 'Classes' Package
[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] [#rtl]

TOwnerStream.Create

Create a new instance of TOwnerStream.

Declaration

Source position: classesh.inc line 1448

public constructor TOwnerStream.Create(

  ASource: TStream

);

Description

Create instantiates a new instance of TOwnerStream and stores the reference to AStream. If SourceOwner is True, the source stream will also be freed when the instance is destroyed.

See also

TOwnerStream.Destroy

  

Destroys the TOwnerStream instance and the source stream.

TOwnerStream.Source

  

Reference to the source stream.

TOwnerStream.SourceOwner

  

Indicates whether the ownerstream owns it's source.


Documentation generated on: Oct 02 2024