Gets or sets a collection of objects that specify how the System.Xml.Serialization.XmlSerializer serializes items inserted into an array returned by a public field or read/write property.
Documentation for this section has not yet been entered.
The XmlAttributes.XmlArrayItems property allows you to specify the derived types that can be inserted into an array returned by a public field or public read/write property. For each new type you want the field or property to accept, create an System.Xml.Serialization.XmlArrayItemAttribute object and XmlArrayItemAttributes.Add(XmlArrayItemAttribute) it to the System.Xml.Serialization.XmlArrayItemAttributes) returned by the XmlAttributes.XmlArrayItems property. (The new type must be derived from the type already accepted by the field or property.) XmlAttributeOverrides.Add(Type, XmlAttributes) the System.Xml.Serialization.XmlAttributes object to an System.Xml.Serialization.XmlAttributeOverrides object and specify the type of the object that contains the field or property, and the name of the field or property. Construct an System.Xml.Serialization.XmlSerializer with the System.Xml.Serialization.XmlAttributeOverrides object before calling XmlSerializer.Serialize(System.IO.TextWriter, object) or XmlSerializer.Deserialize(System.IO.Stream) method.