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 familiar error of...
"An unhandled exception of type 'System.InvalidOperationException' occurred in
system.xml.dll
Additional information: There was an error reflecting 'MyXtraGrid.CostElement'."
This is how I have the property coded. Any ideas?
<Xml.Serialization.XmlArray()> _
Public Property Rates() As RatesCollection
Get
Return mRates
End Get
Set(ByVal Value As RatesCollection)
mRates = Value
End Set
End Property
You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.