XmlRootAttribute Properties
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
The XmlRootAttribute type exposes the following members.
| Name | Description | |
|---|---|---|
|
DataType | Gets or sets the XSD data type of the XML root element. |
|
ElementName | Gets or sets the name of the XML element that is generated and recognized by the XmlSerializer class's Serialize and Deserialize methods, respectively. |
|
IsNullable | Gets or sets a value that indicates whether the XmlSerializer must serialize a member that is set to null into the xsi:nil attribute set to true. |
|
Namespace | Gets or sets the namespace for the XML root element. |
Show: