views:

37

answers:

1

I've got a class which implements it's own (de)serialization via XLINQ, and I'd like to have clients of my class which attempt to XMLSerialze my class to have my XLINQ method called instead.

Is that possible?

+5  A: 

IXmlSerializable has methods that you can implement that XmlSerializer will use instead of its own approach.

Edit: No idea if this applies to XLINQ or not, but I don't really see why not.

Anna Lear
Doh! I fell like an idiot now. I HATE what they did with MSDN. Instead of a nice tree which probably would have found this on my own it's freaking broken. Anyway, thank you very much :)
Billy ONeal
(I can accept an answer in 8 minutes)
Billy ONeal
You're welcome. :)
Anna Lear