System.Classes.TStreamReader.OwnStream

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

procedure OwnStream; inline;

C++

void __fastcall OwnStream(void);

Properties

Type Visibility Source Unit Parent
procedure
function
public
System.Classes.pas
System.Classes.hpp
System.Classes TStreamReader

Description

Make TStreamReader the owner of the stream from which TStreamReader reads.

OwnStream is used when the stream from which TStreamReader reads is no longer needed after TStreamReader is destroyed.


See Also

Code Examples