Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class System.​Xml.​Serialization.​XmlAttributeAttribute

Assembly: System.Xml.ReaderWriter

Inheritance: object → Attribute → XmlAttributeAttribute

Specifies that the <see cref="T:System.Xml.Serialization.XmlSerializer" /> must serialize the class member as an XML attribute.

Properties

public string
AttributeName
Gets or sets the name of the XML attribute.
public string
DataType
Gets or sets the XSD data type of the XML attribute generated by the <see cref="T:System.Xml.Serialization.XmlSerializer" /> .
Gets or sets a value that indicates whether the XML attribute name generated by the <see cref="T:System.Xml.Serialization.XmlSerializer" /> is qualified.
public string
Namespace
Gets or sets the XML namespace of the XML attribute.
public Type
Type
Gets or sets the complex type of the XML attribute.
public object
TypeId

Methods

public bool
Equals​(object obj)
Inherited from Attribute
public int
GetHashCode​()
Inherited from Attribute
public bool
IsDefaultAttribute​()
Inherited from Attribute
public bool
Match​(object obj)
Inherited from Attribute
protected void
Finalize​()
Inherited from object
public Type
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object