System.Xml.Serialization.XmlAttributes Members

The members of System.Xml.Serialization.XmlAttributes are listed below.

See Also: Inherited members from System.Object

Public Constructors

Initializes a new instance of the System.Xml.Serialization.XmlAttributes class.

Initializes a new instance of the System.Xml.Serialization.XmlAttributes class and customizes how the System.Xml.Serialization.XmlSerializer serializes and deserializes an object.

Public Properties

XmlAnyAttributeXmlAnyAttributeAttribute.

Gets or sets the System.Xml.Serialization.XmlAnyAttributeAttribute to override.

[read-only]
XmlAnyElementsXmlAnyElementAttributes.

Gets the collection of System.Xml.Serialization.XmlAnyElementAttribute objects to override.

XmlArrayXmlArrayAttribute.

Gets or sets an object that specifies how the System.Xml.Serialization.XmlSerializer serializes a public field or read/write property that returns an array.

[read-only]
XmlArrayItemsXmlArrayItemAttributes.

Gets or sets a collection of objects that specify how the System.Xml.Serialization.XmlSerializer serializes items inserted into an array returned by a public field or read/write property.

XmlAttributeXmlAttributeAttribute.

Gets or sets an object that specifies how the System.Xml.Serialization.XmlSerializer serializes a public field or public read/write property as an XML attribute.

[read-only]
XmlChoiceIdentifierXmlChoiceIdentifierAttribute.

Gets or sets an object that allows you to distinguish between a set of choices.

XmlDefaultValueobject.

Gets or sets the default value of an XML element or attribute.

[read-only]
XmlElementsXmlElementAttributes.

Gets a collection of objects that specify how the System.Xml.Serialization.XmlSerializer serializes a public field or read/write property as an XML element.

XmlEnumXmlEnumAttribute.

Gets or sets an object that specifies how the System.Xml.Serialization.XmlSerializer serializes an enumeration member.

XmlIgnorebool.

Gets or sets a value that specifies whether or not the System.Xml.Serialization.XmlSerializer serializes a public field or public read/write property.

Xmlnsbool.

Gets or sets a value that specifies whether to keep all namespace declarations when an object containing a member that returns an System.Xml.Serialization.XmlSerializerNamespaces object is overridden.

XmlRootXmlRootAttribute.

Gets or sets an object that specifies how the System.Xml.Serialization.XmlSerializer serializes a class as an XML root element.

XmlTextXmlTextAttribute.

Gets or sets an object that instructs the System.Xml.Serialization.XmlSerializer to serialize a public field or public read/write property as XML text.

XmlTypeXmlTypeAttribute.

Gets or sets an object that specifies how the System.Xml.Serialization.XmlSerializer serializes a class to which the System.Xml.Serialization.XmlTypeAttribute has been applied.