XmlAttributeAttribute Constructor (String)

July 28, 2014

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
)

Parameters

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

Show:
© 2014 Microsoft