System.Xml.Serialization.XmlAttributes.XmlElements Property

Gets a collection of objects that specify how the System.Xml.Serialization.XmlSerializer serializes a public field or read/write property as an XML element.

Syntax

public XmlElementAttributes XmlElements { get; }

Value

Documentation for this section has not yet been entered.

Remarks

For each overridden member that is serialized as an XML element, you must add a new System.Xml.Serialization.XmlElementAttribute to an System.Xml.Serialization.XmlElementAttributes by calling the XmlElementAttributes.Add(XmlElementAttribute) method. By default, an System.Xml.Serialization.XmlElementAttributes object is created and assigned to the XmlAttributes.XmlElements property.

Requirements

Namespace: System.Xml.Serialization
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0