XmlRootAttribute 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 XmlRootAttribute class and specifies the name of the XML root element.
Assembly: System.Xml (in System.Xml.dll)
Parameters
- elementName
- Type: System.String
The name of the XML root element.
Show: