471,337 Members | 1,338 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,337 software developers and data experts.

Serialization questions...

To
Hi. I've two big serialization problems:

The first is about the <nonserialized> attribute on a field on a mother
class. His inheritance seems to be effective only if the member is public.
If it is not the case, when I try to seriliazise the child class, vb tries
to serialize my non serializable member!!!!

The second problem is about the serialization of a class which inherit from
a hastable. The hashtable implements ISerializable so I must redefine a
"getObjectData" method in ordre to specify wich member should be serialize.
But I don't want to have a method like this in every collection I use!!!!
I'd prefer a system with the <serializable> attribute on the class wich
serialize every member not declared <nonserialized>. Is there a way to avoid
it??

Thank tou very much!

Thibaut
Jul 21 '05 #1
0 956

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

37 posts views Thread by Ben | last post: by
5 posts views Thread by Arjen | last post: by
10 posts views Thread by SStory | last post: by
5 posts views Thread by RobinS | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.