T
Timo
When I use XML serialization to serialize MyCustomObjectCollection, all of
the public fields of MyCustomObject are being serialized, even those I've
given the <NonSerialized()> attribute.
<Serializable()> Public Class MyCustomObject
Public FieldID As String
Public ParentId As String
Public ItemId As String
<NonSerialized()> Public Name As String
<NonSerialized()> Public Data As String
..
..
..
Both Name and Data are being serialized.
What am I missing?
Thanks
Timo
the public fields of MyCustomObject are being serialized, even those I've
given the <NonSerialized()> attribute.
<Serializable()> Public Class MyCustomObject
Public FieldID As String
Public ParentId As String
Public ItemId As String
<NonSerialized()> Public Name As String
<NonSerialized()> Public Data As String
..
..
..
Both Name and Data are being serialized.
What am I missing?
Thanks
Timo