Can't XmlSerializer serialize a class with a Color field?

  • Thread starter Thread starter qrli
  • Start date Start date
Q

qrli

public class ToBeSerialized {
// This field is alway ignored by XmlSerializer
public Color color;
}

How can I make that field serialized correctly?

thx in advance!
 
Strange, because Color is documented to be serializable, are you sure that
Color is the unserialized member?
Anyhow just make your class to implement ISerializable.
 
Back
Top