System.Classes.TStreamWriter.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 TStreamWriter

Description

Make TStreamWriter the owner of the stream to which TStreamWriter writes.

OwnStream is used when the stream to which TStreamWriter writes is no longer needed after TStreamWriter is destroyed.


See Also

Code Examples