FireDAC.Stan.Param.TFDParam.SetObjectValue

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function SetObjectValue(const AInstance: TObject; const ADataType: TFieldType;  AOwner: Boolean = True; AIndex: Integer = -1): IParamObject;

Properties

Type Visibility Source Unit Parent
function public FireDAC.Stan.Param.pas FireDAC.Stan.Param TFDParam

Description

Sets the value of a TFDParam instance to the given object, using the specified ownership flag.

Call the SetObjectValue to set the value of a TFDParam instance to the given object through the AInstance parameter, using the specified ownership flag specified by AOwner parameter. The ADataType parameter specifies the data type of the corresponding field.

See Also