The members of System.Xml.Serialization.XmlElementAttribute are listed below.
See Also: Inherited members from System.Attribute
Initializes a new instance of the System.Xml.Serialization.XmlElementAttribute class. | ||
Initializes a new instance of the System.Xml.Serialization.XmlElementAttribute class and specifies the name of the XML element. | ||
Initializes a new instance of the System.Xml.Serialization.XmlElementAttribute class and specifies a type for the member to which the System.Xml.Serialization.XmlElementAttribute is applied. This type is used by the System.Xml.Serialization.XmlSerializer when serializing or deserializing object that contains it. | ||
Initializes a new instance of the System.Xml.Serialization.XmlElementAttribute and specifies the name of the XML element and a derived type for the member to which the System.Xml.Serialization.XmlElementAttribute is applied. This member type is used when the System.Xml.Serialization.XmlSerializer serializes the object that contains it. |
DataType | string.
Gets or sets the XML Schema definition (XSD) data type of the XML element generated by the System.Xml.Serialization.XmlSerializer. | |
ElementName | string.
Gets or sets the name of the generated XML element. | |
Form | System.Xml.Schema.XmlSchemaForm.
Gets or sets a value that indicates whether the element is qualified. | |
IsNullable | bool.
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. | |
Namespace | string.
Gets or sets the namespace assigned to the XML element that results when the class is serialized. | |
Order | int.
Gets or sets the explicit order in which the elements are serialized or deserialized. | |
Type | Type.
Gets or sets the object type used to represent the XML element. |