XmlAttributeOverrides.Add Method (Type, XmlAttributes)
Assembly: System.Xml.Serialization (in System.Xml.Serialization.dll)
The XmlAttributes object contains a union of attribute objects that cause the XmlSerializer to override its default serialization behavior for a set of objects. You choose the attribute objects to place in the XmlAttributes object, depending on the particular behaviors you want to override. For example, the XmlSerializer serializes a class member as an XML element by default. If you want the member to be serialized as an XML attribute instead, you would create an XmlAttributeAttribute, assign it to the XmlAttribute property of an XmlAttributes, and add the XmlAttributes object to the XmlAttributeOverrides object.
For a list of the operating systems and browsers that are supported by Silverlight, see Supported Operating Systems and Browsers.