System.Generics.Collections.TDictionaryOwnerships

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

type TDictionaryOwnerships = set of (doOwnsKeys, doOwnsValues);

C++

typedef System::Set<System_Generics_Collections__02, System_Generics_Collections__02::doOwnsKeys, System_Generics_Collections__02::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.


See Also