XmlRootAttribute
Controls XML serialization of the attribute target as an XML root element.
Gets or sets the XSD data type of the XML root element.
Gets or sets the name of the XML element that is generated and recognized by the XmlSerializer class's Serialize and Deserialize methods, respectively.
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.
Gets or sets the namespace for the XML root element.
public XmlRootAttribute()
Initializes a new instance of the XmlRootAttribute class.
Initializes a new instance of the XmlRootAttribute class and specifies the name of the XML root element.