RAD Studio VCL Reference
TStreamAdapter.Create Constructor

Creates an instance of a TStreamAdapter object.

constructor Create(Stream: TStream; Ownership: TStreamOwnership = soReference);
__fastcall TStreamAdapter(TStream Stream, TStreamOwnership Ownership = soReference);

Call Create to instantiate a TStreamAdapter object that implements the IStream interface using the stream object specified by Stream. Ownership initializes the StreamOwnership property, indicating whether the TStreamAdapter object is responsible for freeing the stream specified by Stream from its own destructor. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!