XML Serialize question

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Dominic (dominicsmith501_at_hotmail.com)
Date: 08/01/04


Date: 1 Aug 2004 16:30:25 -0700

I am using XmlSerializer to serialize my object. The object has
various public members which are object references. This all works
fine.

However, one member (mShape) is declared as a reference to an abstract
base class, IShape. The member actually references a concrete subclass
such as Square or Circle.

Th serializer doesn't seem to be able to hand this. Any ideas on what
to do?

Dom



Relevant Pages

  • Re: 2006 Kinscherff High Noon cutaway Madagascar/Adi
    ... I was told by a member of this ... the 7k range with the Madagascar upcharge (assuming it's at least ... MANY references if you are uncomfortable with sending out a Cashier's ... My Ebay user ID is 6strings-14clubs and my ...
    (rec.music.makers.guitar.acoustic)
  • Re: circular relationships ok?
    ... are circular relationships something that ... So, what if A references B, B references C and C references A? ... If an element e1 references element e2 then it is interpreted as e1 is a member of e2, where e2 is a collection. ... Naturally we do not want to have a cycle somewhere in our structure of levels because that would mean that one level is a more specific or more general level of itself. ...
    (comp.databases.theory)
  • Re: 2006 Kinscherff High Noon cutaway Madagascar/Adi
    ... I was told by a member of this ... newsgroup that there were some Kinscherff enthusiasts that "lurk" ... MANY references if you are uncomfortable with sending out a Cashier's ... My Ebay user ID is 6strings-14clubs and my ...
    (rec.music.makers.guitar.acoustic)
  • Re: For Sale: 2006 Kinscherff High Noon Cutaway Madagascar/Adirondack
    ... I was told by a member of this ... As you can see from the many pictures, the Madagascar is stunning, ... MANY references if you are uncomfortable with sending out a Cashier's ... user ID on many other guitar forums is Fitness1. ...
    (rec.music.makers.guitar.acoustic)
  • Re: XML Serialize question
    ... > I am using XmlSerializer to serialize my object. ... > However, one member is declared as a reference to an abstract> base class, IShape. ... The member actually references a concrete subclass> such as Square or Circle. ...
    (microsoft.public.dotnet.languages.csharp)