XML Serialization of internal members

  • Thread starter Thread starter ThunderMusic
  • Start date Start date
T

ThunderMusic

Hi,
I have a class that must be serialized. One of it's properties cannot be
serialized so I mark it with [XmlIgnore] and replace it with a property I
serialize "manually" (I put the elements in an array). I don't want the
users to use this method, so I'd mark it as internal, but if I mark it as
internal, it's not serialized anymore... Is there a way around it? I want
the property to be serializable, but not usable by external sources...

Thanks

ThunderMusic
 
Back
Top