System.Generics.Collections.TDictionary.Items
Delphi
property Items[const Key: TKey]: TValue read GetItem write SetItem; default;
C++
__property TValue Items[const TKey Key] = {read=GetItem, write=SetItem/*, default*/};
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
property | public | System.Generics.Collections.pas System.Generics.Collections.hpp |
System.Generics.Collections | TDictionary |
Description
Indexable list of all dictionary entries.
Items is an indexable list of all key-value pairs in the dictionary.
The Count property holds the number of dictionary entries in Items.
You can set and get values by indexing the Items property. Setting the value this way overwrites an existing value and does not raise an exception.
See Also
Code Examples