ImageEn, unit hyieutils

TIEDictionary.GetBoolean

TIEDictionary.GetBoolean


Declaration

function GetBoolean(const key: WideString; recursive: boolean = true): boolean; overload;
function GetBoolean(const key: WideString; const Def: Boolean; recursive: boolean): boolean; overload;


Description

Returns the boolean value to which the key is mapped in this dictionary. If the key doesn't exist an exception is raised.

Parameter Description
key A key in this dictionary
recursive If true then search this key inside sub-dictionaries
Note: Use '#text' as the key to get the values from a tag list, e.g. memo1.lines.add( dict.GetString( '#text', false ));