XmlRootAttribute Properties
.NET Framework 4
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. |
|
IsNullableSpecified | Gets whether the xsi:nil attribute has been set to true. |
|
Namespace | Gets or sets the namespace for the XML root element. |
|
TypeId | When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.) |