Gets or sets an object that specifies how the System.Xml.Serialization.XmlSerializer serializes a public field or read/write property that returns an array.
Documentation for this section has not yet been entered.
There are two ways in which a public field or public read/write property that returns an array is serialized by the System.Xml.Serialization.XmlSerializer: the default serialization, and the controlled serialization.
In the default serialization, no attribute is applied to the member. When serialized, the array is serialized as a nested sequence of XML elements with the XML element name of the nested sequence taken from the member name.
To control the serialization more precisely, apply an System.Xml.Serialization.XmlArrayAttribute to the field or property. For example, you can change the generated XML element name from the default to a different name by setting the XmlArrayAttribute.ElementName property to a new value.
The XmlAttributes.XmlArray property allows you to override the default serialization, as well as the serialization controlled by applying an System.Xml.Serialization.XmlArrayAttribute to the member. For example, you can change the XML element name generated from the default (the member identifier) to a new value. In addition, if you apply an System.Xml.Serialization.XmlArrayAttribute to a member, it is overridden by any System.Xml.Serialization.XmlArrayAttribute that is assigned to the XmlAttributes.XmlArray property.