RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDBXValue.GetBoolean Method ()

Gets the boolean value for boolean data types.

Pascal
function GetBoolean: Boolean; virtual; overload;
function GetBoolean(defaultValue: Boolean): Boolean; virtual; overload;
C++
virtual __fastcall Boolean GetBoolean();
virtual __fastcall Boolean GetBoolean(Boolean defaultValue);

Gets the boolean value for TDBXValue instances with a data types of BooleanType.  

This method throws a TDBXError exception if TDBXValue.IsNull is true and defaultValue is not specified. This method gets the defaultValue if it is specified and the TDBXValue is null. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!