RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Generics.Collections.TDictionaryOwnerships Type

Set of ownerships for TObjectDictionary.

Pascal
TDictionaryOwnerships = set of (doOwnsKeys, doOwnsValues);
C++
(doOwnsKeys, doOwnsValues) TDictionaryOwnerships;

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.  

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!