XmlAnyElementAttribute Constructor (String)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Initializes a new instance of the XmlAnyElementAttribute class and specifies the XML element name generated in the XML document.
Assembly: System.Xml (in System.Xml.dll)
Parameters
- name
- Type: System.String
The name of the XML element that the XmlSerializer generates.
Use the XmlAnyElementAttribute constructor when you are overriding the serialization of a field.
Show: