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

XmlAttributeAttribute Constructor (String, Type)

[ 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.

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

public XmlAttributeAttribute(
	string attributeName,
	Type type


Type: System.String
The name of the XML attribute that is generated.
Type: System.Type
The Type used to store the attribute.

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2017 Microsoft