Components | All | New | MacOS | Windows | Linux | iOS | ||||
Examples | Mac & Win | Server | Client | Guides | Statistic | FMM | Blog | Deprecated | Old |
Dictionary.Keys
Returns list with all keys.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
Dictionary | 5.0 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
MBS( "Dictionary.Keys"; DictionaryRef ) More
Parameters
Parameter | Description | Example |
---|---|---|
DictionaryRef | The reference number to the dictionary. | $dic |
Result
Returns list or error.
Description
Returns list with all keys.The order is random and defined by how the dictionary internally stores values.
See also Dictionary.Values.
Examples
Query list of keys:
$keys = MBS("Dictionary.Keys"; $Param)
See also
- Dictionary.AddSQL
- Dictionary.Clear
- Dictionary.Create
- Dictionary.Deserialize
- Dictionary.HasKey
- Dictionary.HasKeys
- Dictionary.KeysWithPostfix
- Dictionary.KeysWithPrefix
- Dictionary.List
- Dictionary.Serialize
Release notes
- Version 11.4
- Added Dictionary.KeysWithPostfix and Dictionary.KeysWithPrefix functions.
Example Databases
This function checks for a license.
Created 12nd December 2014, last changed 1st March 2021