FireDAC.Stan.Param.TFDParam.SetStream
Delphi
procedure SetStream(AStream: TStream; ABlobType: TFieldType;
AOwner: Boolean = True; AIndex: Integer = -1);
C++
void __fastcall SetStream(System::Classes::TStream* AStream, Data::Db::TFieldType ABlobType, bool AOwner = true, int AIndex = 0xffffffff);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FireDAC.Stan.Param.pas FireDAC.Stan.Param.hpp |
FireDAC.Stan.Param | TFDParam |
Description
Assigns a stream object to a parameter.
Use the SetStream method to assign the TStream object to TFDParam. Set AOwner to True to specify that this parameter will be the owner of the stream object. Set AIndex to index of the stream item for the array-valued parameter.
The DataType property is set with the value specified in the ABlobType
parameter.