XmlArrayAttribute Constructor (String)

May 11, 2014

Initializes a new instance of the XmlArrayAttribute class and specifies the XML element name generated in the XML document instance.

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

public XmlArrayAttribute(
	string elementName


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

Windows Phone OS

Supported in: 8.1, 8.0, 7.1, 7.0

Windows Phone

© 2014 Microsoft