This documentation is archived and is not being maintained.

XmlElementAttribute Properties

The XmlElementAttribute type exposes the following members.

Public property DataType Gets or sets the XML Schema definition (XSD) data type of the XML element generated by the XmlSerializer.
Public property ElementName Gets or sets the name of the generated XML element.
Public property Form Gets or sets a value that indicates whether the element is qualified.
Public property IsNullable Gets or sets a value that indicates whether the XmlSerializer must serialize a member that is set to null as an empty tag with the xsi:nil attribute set to true.
Public property Namespace Gets or sets the namespace assigned to the XML element that results when the class is serialized.
Public property Order Gets or sets the explicit order in which the elements are serialized or deserialized.
Public property Type Gets or sets the object type used to represent the XML element.
Public property TypeId When implemented in a derived class, gets a unique identifier for this Attribute. (Inherited from Attribute.)