Click or drag to resize
XmlRootAttribute Properties

The XmlRootAttribute type exposes the following members.

Properties
  NameDescription
Public propertyDataType
Gets or sets the XSD data type of the XML root element.
Public propertyElementName
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.
Public propertyIsNullable
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.
Public propertyNamespace
Gets or sets the namespace for the XML root element.
Top
See Also