Re: [DOTNET] XML Serialization of Class - with working example.

2002-04-12 Thread franklin gray
I forgot to note that the code I pasted in the emails can be cut and pasted into a new winform project and ran to illustrate what I am talking about. You can read messages from the DOTNET archive, unsubscribe from DOTNET, or subscribe to other DevelopMentor lists at http://discuss.develop.com.

[DOTNET] XML Serialization of Class - with working example.

2002-04-12 Thread franklin gray
Only difference with this and the broke example is the type of object added to the arraylist in the sub New. Why is it that a simple custom object will not serialize, but a string will when added to a custom arraylist? Imports System.ComponentModel Public Class C Inherits ArrayList Im

[DOTNET] XML Serialization of Class - with broke example.

2002-04-12 Thread franklin gray
Why is it that this doesn't work? (I will follow up with another email with an example that does workonly difference is the type of object that gets added to the arraylist). Imports System.ComponentModel Public Class C Inherits ArrayList Implements IBindingList Public Sub New

Re: [DOTNET] XML Serialization of Class

2002-04-12 Thread Block, Jeffrey A.
: [EMAIL PROTECTED] Subject: [DOTNET] XML Serialization of Class Can a class with the following be XML Serialized? Public Class RatesCollection Inherits CollectionBase Implements IBindingList I have a class that has a property with a type of the above class. Before I put it in

[DOTNET] XML Serialization of Class

2002-04-12 Thread franklin gray
Can a class with the following be XML Serialized? Public Class RatesCollection Inherits CollectionBase Implements IBindingList I have a class that has a property with a type of the above class. Before I put it in, the serialization was working. Now I am getting that old