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

TStreamOwnership

Determines the ownership of a TStreamAdapter.

Declaration

Source position: classesh.inc line 1657

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: Dec 26 2024