FireDAC.Stan.Param.TFDParam.SetStream

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

procedure SetStream(AStream: TStream; ABlobType: TFieldType;  AOwner: Boolean = True; AIndex: Integer = -1);

Properties

Type Visibility Source Unit Parent
procedure public FireDAC.Stan.Param.pas 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.

See Also