[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'Classes' (#rtl)

TStreamOwnership

Determines the ownership of a TStreamAdapter

Declaration

Source position: classesh.inc line 1157

type TStreamOwnership = (

  soReference,

  

Stream is referenced only, it is not freed by the adapter

  soOwned

  

Stream is owned: it will be freed when the adapter is freed.

);

Description

The ownership of a streamadapter determines what happens with the stream on which a TStreamAdapter acts, when the adapter is freed.

See also

TStreamAdapter

  

Implements IStream for TStream descendants

#rtl.types.IStream

  

COM stream abstraction


Documentation generated on: Jun 22 2020