The properties of System.Xml.Serialization.XmlRootAttribute are listed below. For a list of all members, see the XmlRootAttribute Members list.
See Also: Inherited members from System.Attribute
DataType | string.
Gets or sets the XSD data type of the XML root element. | |
ElementName | string.
Gets or sets the name of the XML element that is generated and recognized by the System.Xml.Serialization.XmlSerializer class's XmlSerializer.Serialize(System.IO.TextWriter, object) and XmlSerializer.Deserialize(System.IO.Stream) methods, respectively. | |
IsNullable | bool.
Gets or sets a value that indicates whether the System.Xml.Serialization.XmlSerializer must serialize a member that is set to null into the xsi:nil attribute set to true. | |
Namespace | string.
Gets or sets the namespace for the XML root element. |