Manoj
Sat Nov 12 01:40:43 CST 2005
Hi Jingnan,
I guess you will have to implement the IXmlSerializable interface for having
that sort of control. Unfortunately, this interface is
undocumented/unsupported until now, .NET 2.0.
You also may want to look at this blog post form more info on the same.
http://weblogs.asp.net/cweyer/archive/2004/08/02/205798.aspx
--
HTH,
Manoj G
MVP, Visual Developer
http://msmvps.com/manoj
"Si Jingnan" <jingnan.si@gmail.com> wrote in message
news:%23UVBaEn5FHA.3188@TK2MSFTNGP15.phx.gbl...
> Hi,
> When using System.Xml.Serialize, could we control the output order of
> proeprties? I want to first render some properties, then another based on
> different cases, or I want to first output derived class's properties then
> base class's, Is there any programming way to do it?
>
> Thanks
> Jingnan