XmlRootAttribute Properties |
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 System.Xml.Serialization.XmlSerializer class's System.Xml.Serialization.XmlSerializer.Serialize(System.IO.TextWriter,System.Object)
and System.Xml.Serialization.XmlSerializer.Deserialize(System.IO.Stream)
methods, respectively.
| |
IsNullable |
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 |
Gets or sets the namespace for the XML root element.
|