J.R.
In addition to Rob's suggestions.
You could manually iterate the StringDictionary in the containing class
adding the items to the SerializationInfo class in the GetObjectData method.
This would assume the containing class implements the ISerializable
interface (in addition to having the SerializableAttribute. I would add a
number of items count before saving the items. So on deserialization I would
know how many items to restore. Just remember the names you use in
SerializationInfo need to be unique, I would probably prefix the items &
count from the StringDictionary with some unique value.
Hope this helps
Jay
"J.R" <so*****@somewhere.com> wrote in message
news:Uw***********************@news1.calgary.shaw. ca...
I'm getting an error when I attempt to serialize a type StringDictionary,
error suggests type not marked for Serialization, could someone tell me
how to go about this?
Thanks.