Hello Hugo,
thanks for your reply. But it doesn't adress my problem. My problem is not the access of items of the collection, but access to the entire collection. Let's say I've got an object with a collection in its property. Well - I am working with it to get an item like Object.Collection(1). Now I realize, that in different situations I need another collection. Normally I solve this by an Access-method which returns the proper collection-object and looks to the user as if he is working with the original object. But in case of a collection this breaks my code accessing it because Object.Collection(1) is not working anymore and I need to use Object.Collection.Item(1). You may recommend a text-search and replace to Object.Collection.Item(1) (what I did now), but if other programmers use components of mine, the problem raises again...
Regards
Matthias
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement