<PackageReference Include="System.Xml.XmlSerializer" Version="4.0.11-beta-23409" />

XmlAttributes

public class XmlAttributes
Represents a collection of attribute objects that control how the XmlSerializer serializes and deserializes an object.

Gets or sets the XmlAnyAttributeAttribute to override.

Gets the collection of XmlAnyElementAttribute objects to override.

public XmlArrayAttribute XmlArray { get; set; }

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

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

public XmlAttributeAttribute XmlAttribute { get; set; }

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

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

public object XmlDefaultValue { get; set; }

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

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

public XmlEnumAttribute XmlEnum { get; set; }

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

public bool XmlIgnore { get; set; }

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

public bool Xmlns { get; set; }

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

public XmlRootAttribute XmlRoot { get; set; }

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

public XmlTextAttribute XmlText { get; set; }

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

public XmlTypeAttribute XmlType { get; set; }

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

public XmlAttributes()

Initializes a new instance of the XmlAttributes class.

public XmlAttributes(MemberInfo memberInfo)