XmlAttributeAttribute Constructor (String)
Collapse the table of content
Expand the table of content

XmlAttributeAttribute 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 XmlAttributeAttribute class and specifies the name of the generated XML attribute.

Namespace:  System.Xml.Serialization
Assembly:  System.Xml (in System.Xml.dll)

public XmlAttributeAttribute(
	string attributeName


Type: System.String
The name of the XML attribute that the XmlSerializer generates.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2017 Microsoft