XML Serialize question
From: Dominic (dominicsmith501_at_hotmail.com)
Date: 08/01/04
- Next message: Tomas Petricek: "Re: Event handlers in Page class"
- Previous message: William Stacey [MVP]: "Re: Architecture advise wanted."
- Next in thread: Nicholas Paldino [.NET/C# MVP]: "Re: XML Serialize question"
- Reply: Nicholas Paldino [.NET/C# MVP]: "Re: XML Serialize question"
- Messages sorted by: [ date ] [ thread ]
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
- Next message: Tomas Petricek: "Re: Event handlers in Page class"
- Previous message: William Stacey [MVP]: "Re: Architecture advise wanted."
- Next in thread: Nicholas Paldino [.NET/C# MVP]: "Re: XML Serialize question"
- Reply: Nicholas Paldino [.NET/C# MVP]: "Re: XML Serialize question"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|