Home All Groups Group Topic Archive Search About

Collection Class Serialization

Author
24 Mar 2005 8:58 AM
Michael Rich
Can anyone point me to a collection class that has
serialization/deserialization with it - preferably in XML.

I know this can't be done with a collection that inherits from
CollectionBase, but I'm hoping someone has another collection class out
there.

Thanks;
Michael

Author
24 Mar 2005 3:13 PM
Kerry Moorman
Michael,

Both arraylist and hashtable can be serialized with a binaryformatter. I
think that arraylist can also be serialized as xml.

I'm surprised that collectionbase is not serializable. Are you sure about
that?

Kerry Moorman


Show quoteHide quote
"Michael Rich" wrote:

> Can anyone point me to a collection class that has
> serialization/deserialization with it - preferably in XML.
>
> I know this can't be done with a collection that inherits from
> CollectionBase, but I'm hoping someone has another collection class out
> there.
>
> Thanks;
> Michael
>
>
>
Author
6 Apr 2005 3:13 PM
Shane Story
It is serializable and marked as such; however I am having trouble
serializing it using custom serialization because I can't call
mybase.GetObjectData for it.


Show quoteHide quote
"Kerry Moorman" <KerryMoor***@discussions.microsoft.com> wrote in message
news:3D58894A-2030-476D-8680-4AC4A986877D@microsoft.com...
> Michael,
>
> Both arraylist and hashtable can be serialized with a binaryformatter. I
> think that arraylist can also be serialized as xml.
>
> I'm surprised that collectionbase is not serializable. Are you sure about
> that?
>
> Kerry Moorman
>
>
> "Michael Rich" wrote:
>
>> Can anyone point me to a collection class that has
>> serialization/deserialization with it - preferably in XML.
>>
>> I know this can't be done with a collection that inherits from
>> CollectionBase, but I'm hoping someone has another collection class out
>> there.
>>
>> Thanks;
>> Michael
>>
>>
>>