Gets or sets the XmlAnyAttributeAttribute to override.
Assembly: System.Xml (in System.Xml.dll)
The XmlAnyAttributeAttribute can be applied to a member that returns an array of XmlAttribute objects on deserialization. This allows the XmlSerializer to deserialize any attributes that do not have a corresponding member in the object being deserialized--thus those elements are "unknown" to the XmlSerializer. This is useful when the XML stream has been altered by an XML Web service, or when it is known that random data is always included with the XML stream.
The property allows you to override the serialization of a member to which the XmlAnyAttributeAttribute has been applied.
Windows Phone 8.1, Windows Phone 8, Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.