Data.DB.TParam.AsBoolean
| [–] Properties | |
|---|---|
| Type: property | |
| Visibility: public | |
| Source: Data.DB.pas Data.DB.hpp
| |
| Unit: Data.DB | |
| Parent: TParam | |
Delphi
property AsBoolean: Boolean read GetAsBoolean write SetAsBoolean;
C++
__property bool AsBoolean = {read=GetAsBoolean, write=SetAsBoolean, nodefault};
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