I suspect that you can get what you want in another way.
The point is that I do not know exactly what you want to achieve.
The property
must begin with "set" or "get" sensitive.
Writing "Set" and "Get" they are normal sub routines (they work, of course, but then you can't write statements like: MyClassObject.Name = ...)
I'm not very vigilant at this time (amazing but I'm developing
).
Maybe you could use a Map.
Private mKarten As Map
mKarten.Initialize
Sub getKarten As Map
Return mKarten
end Sub
At this point, you could write:
MyClassObject.Karten.Put(Index, MyObject)
MyObject = MyClassObject.Karten.Get(Index)
But you probably want to get something different, sorry