System.Xml.Serialization.XmlElementAttribute: Property Members

The properties of System.Xml.Serialization.XmlElementAttribute are listed below. For a list of all members, see the XmlElementAttribute Members list.

See Also: Inherited members from System.Attribute

Public Properties

DataTypestring.

Gets or sets the XML Schema definition (XSD) data type of the XML element generated by the System.Xml.Serialization.XmlSerializer.

ElementNamestring.

Gets or sets the name of the generated XML element.

FormSystem.Xml.Schema.XmlSchemaForm.

Gets or sets a value that indicates whether the element is qualified.

IsNullablebool.

Gets or sets a value that indicates whether the System.Xml.Serialization.XmlSerializer must serialize a member that is set to null as an empty tag with the xsi:nil attribute set to true.

Namespacestring.

Gets or sets the namespace assigned to the XML element that results when the class is serialized.

Orderint.

Gets or sets the explicit order in which the elements are serialized or deserialized.

TypeType.

Gets or sets the object type used to represent the XML element.