API:Data.DBXCommon.TDBXStreamValue.SetStream

From RAD Studio API Documentation
Jump to: navigation, search

[–] Properties
Type:
procedure
function
Visibility: public
Source:
Data.DBXCommon.pas
Data.DBXCommon.hpp
Unit: Data.DBXCommon
Parent: TDBXStreamValue

Delphi

procedure SetStream(const Stream: TStream; const AInstanceOwner: Boolean); override;

C++

virtual void __fastcall SetStream(System::Classes::TStream* const Stream, const bool AInstanceOwner);

Description

Set TStream Value for TDBXValues with a TDBXDataType of TDBXDataTypes.DBXTableType.

Data.DBXCommon.TDBXStreamValue.SetStream inherits from Data.DBXCommon.TDBXWritableValue.SetStream. All content below this line refers to Data.DBXCommon.TDBXWritableValue.SetStream.

Set TStream Value for TDBXValues with a TDBXDataType of TDBXDataTypes.DBXTableType.

SetStream sets a TStream Value for a TDBXValue with a TDBXDataType of TDBXDataTypes.DBXTableType.

AInstanceOwner defaults to true if this parameter is not specified. If AInstanceOwner is true, this instance of TDBXWritableValue takes care of freeing the TStream instance when it is no longer needed.

See Also