XmlAttributeAttribute Constructor (String, Type)

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
)

Parameters

attributeName
Type: System.String
The name of the XML attribute that is generated.
type
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

Show:
© 2016 Microsoft