System.Xml.Serialization.XmlAnyElementAttributes Class

Represents a collection of System.Xml.Serialization.XmlAnyElementAttribute objects.

See Also: XmlAnyElementAttributes Members

Syntax

public class XmlAnyElementAttributes : CollectionBase

Remarks

Use the System.Xml.Serialization.XmlAnyElementAttributes to override the behavior of a set of System.Xml.Serialization.XmlAnyElementAttribute objects. Multiple instances of the System.Xml.Serialization.XmlAnyElementAttribute class can be applied to a class member, as long as each instance has a distinct XmlAnyElementAttribute.Name property value; this instructs the System.Xml.Serialization.XmlSerializer to collect unknown elements under the named element into the appropriate array. It is for this reason that multiple instances of the System.Xml.Serialization.XmlAnyElementAttribute class can be added to the System.Xml.Serialization.XmlAnyElementAttributes.

To override a set of System.Xml.Serialization.XmlAnyElementAttribute objects:

[The 'ordered' type of list has not been implemented in the ECMA stylesheet.]

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