Welcome to MSDN Blogs Sign in | Join | Help

David talks about serializing fields as XML node attributes

There are times that you may wish to serialize one or more fields as attributes on the object's node (ex: reduce the size of the XML).  By decorating the TestID field with an XmlAttribute attribute, the TestID field

[XmlAttribute()]
public Int32 TestID;


now becomes an attribute
Read more here
Published Thursday, October 05, 2006 3:01 PM by NetCFTeam

Comments

# NET Compact Framework Team David talks about serializing fields as | Portable Greenhouse

Anonymous comments are disabled
 
Page view tracker