JCL Help:TStringHashMap.Data
From Project JEDI Wiki
Jump to navigationJump to searchJCL Help: TStringHashMap.Data Property
[+] TStringHashMap Methods
[+] TStringHashMap Properties
Search in JCL Help
Search in all projects
Summary
Allows access to the map like an array looked up by string.
Pascal
public property Data [const S: string]: PData;
Description
This is the default property, so it needn't be specified directly. If the key corresponding to the string isn't found, an assocation is added if setting, but isn't added if getting. Reading from the map with a key not in the map will return nil.
Examples
Demonstrates use of the TStringHashMap.Data property. var myMap: TStringHashMap; // ... myMap['this'] := Self; if myMap['something'] = nil then // 'something' not found
About
Donator
Barry Kelly
Contribute to this help topic
This documentation wiki is based on the collaborative effort of Project JEDI users. Your edits are welcome in order to improve documentation quality: edit this page