XmlAttributes.XmlElements Property
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Gets a collection of objects that specify how the XmlSerializer serializes a public field or read/write property as an XML element.
Assembly: System.Xml.Serialization (in System.Xml.Serialization.dll)
Property Value
Type: System.Xml.Serialization.XmlElementAttributesAn XmlElementAttributes that contains a collection of XmlElementAttribute objects.
For each overridden member that is serialized as an XML element, you must add a new XmlElementAttribute to an XmlElementAttributes by calling the Add method. By default, an XmlElementAttributes object is created and assigned to the XmlElements property.