• I have switched to FunnelWeb. Please visit my new blog

XLinQ Serialization

Just found out that Microsoft actually had the foresight to support the following scenario:

/// <summary>
/// Gets the unknown elements as a <see cref="List{XElement}"/>.
/// </summary>
[XmlAnyElement]
public List<XElement> UnknownElements
{
    get;
    set;
}

Fantastic (undocumented) news.

Share and Enjoy:
  • Print
  • Digg
  • del.icio.us
  • Facebook
  • DotNetKicks
  • Identi.ca
  • StumbleUpon
  • Tumblr
  • Twitter
This entry was posted in C#, Programming, Short. Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.

Post a Comment

Your email is never published nor shared. Required fields are marked *

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Switch to our mobile site