System.Classes.TStreamReader.OwnStream

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure OwnStream; inline;

C++

void __fastcall OwnStream();

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