System.Generics.Collections.TDictionaryOwnerships
Delphi
TDictionaryOwnerships = set of TDictionaryOwnership;
C++
typedef System::Set<TDictionaryOwnership, TDictionaryOwnership::doOwnsKeys, TDictionaryOwnership::doOwnsValues> TDictionaryOwnerships;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
set typedef |
public | System.Generics.Collections.pas System.Generics.Collections.hpp |
System.Generics.Collections | System.Generics.Collections |
Description
Set of ownerships for TObjectDictionary.
TDictionaryOwnerships is a set of ownerships for TObjectDictionary objects specified at object creation. None, one, or both may be specified. If the dictionary owns the key and/or value, the key and/or value is freed when the entry is removed from the dictionary.
This table lists TDictionaryOwnerships values:
Value | Meaning |
---|---|
doOwnsKeys |
Dictionary owns keys in entries. |
doOwnsValues |
Dictionary owns values in entries. |