property collectionOwner

(r/w) object collectionOwner;

Typ

Zugriff

This property sets/gets a creator-owner of a collection. The owner must implement collectionOwner protocol. When this property is set, the collectionOwner holds only a weak reference to the collection object in order to get notified when the collection object is about to be destroyed. That allows the collection object to stop updates when there are no more consumers left.
var dictObj = shell.serviceManager.basics.dictionary;                 
var liveDictObj = shell.serviceManager.basics.liveDictionary;
liveDictObj.collectionOwner = dictObj;