Data.DB.TParam.AsBoolean
Delphi
property AsBoolean: Boolean read GetAsBoolean write SetAsBoolean;
C++
__property bool AsBoolean = {read=GetAsBoolean, write=SetAsBoolean, nodefault};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | Data.DB.pas Data.DB.hpp |
Data.DB | TParam |
Description
Specifies the value of the parameter when it represents a boolean field.
Set AsBoolean to assign the value for a boolean field to the parameter. Setting AsBoolean sets the DataType property to ftBoolean.
Read the AsBoolean property to determine the value that was assigned to an output parameter, represented as a Boolean (Delphi) or bool (C++). The value of the parameter is converted to a Boolean or bool value if possible.
See Also
Code Examples