Can anyone tell me how I can serialize an object and have it do the
following:
a) serialize any sub-objects recursively
b) serialize collections
Anything I can find on the internet seems to only serialize objects with
property get/let values but not with either other objects or collections.
Thanks,
Kev
Willy Van den Driessche - 26 Sep 2003 21:38 GMT
Don't know if it's what you're looking for, but these are my 2 cents :
http://users.skynet.be/wvdd2/Persistence/persistence.html

Signature
For a work in progress :
http://users.skynet.be/wvdd2/
> Can anyone tell me how I can serialize an object and have it do the
> following:
[quoted text clipped - 5 lines]
> Thanks,
> Kev
Willy Van den Driessche - 26 Sep 2003 21:40 GMT
BTW, If you use VBs built-in serialization, then a "Set" on the property bag
will serialize the object recursively. This type of serialization doesn't
deal with cycles or graph structures (it does the latter but deserializes
them as trees)
.NET serialization does handle quite a bit more, including cycles an
homeomorphic persistence.

Signature
For a work in progress :
http://users.skynet.be/wvdd2/
> Can anyone tell me how I can serialize an object and have it do the
> following:
[quoted text clipped - 5 lines]
> Thanks,
> Kev