| Single dictionary elements | ||
|---|---|---|
| Add | Add a new key and item to the Dictionary. | |
| Exists | Returns true if a specified key exists in the Dictionary object, false if it does not. | |
| Remove | Removes a key and item pair(s) from the Dictionary object. | Dictionary to a file functions |
| Load | This method loads dictionary data stored by the Save method. | |
| Save | Save all dictionary data to a file. | Other |
| Connect | Lets you connect to another Dictionary object in the same process. | |
| Lock | The Lock method blocks other clients from modifying the variables stored in the Dictionary object, ensuring that only one thread at a time can alter or access the dictionary variables. | |
| RemoveAll | Removes all key and items from the Dictionary object. | |
| UniqueKeys | Set or get unique keys property. Specifies a dictionary mode of Add method. If True (default), Add method does not allow to add two items with the same key. | |
| Unlock | The Unlock method enables other threads to modify the variables stored in the Dictionary object after it has been locked using the Lock method. |
| CompareMode | Sets and returns the comparison method for comparing string keys in the Dictionary object. |
| CompareMethod, RW | |
| Item | The Item property returns or sets the value of a given Dictionary key. |
| Variant, RW | |
| Count | Returns the number of items of one specified key or in the Dictionary object. |
| Long, RO | |
| Items | Array containing all items in the Dictionary object. |
| Array, RO | |
| ItemsCount | Returns the number of items in a Dictionary object. |
| Long, RO | |
| Keys | An array containing all existing keys in the Dictionary object. |
| Array, RO | |
| KeysCount | A number of keys in the Dictionary object. |
| Long, RO | |
| Key | Change a key in the Dictionary. |
| String, WO |