Click or drag to resize
XmlAttributeAttribute Class
Specifies that the System.Xml.Serialization.XmlSerializer must serialize the class member as an XML attribute.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    System.Xml.SerializationXmlAttributeAttribute

Namespace: System.Xml.Serialization
Assembly: CSharpXamlForHtml5.System.Xml.dll (in CSharpXamlForHtml5.System.Xml.dll.dll) Version: 1.0.0.0
Syntax
C#
public class XmlAttributeAttribute : Attribute

The XmlAttributeAttribute type exposes the following members.

Constructors
  NameDescription
Public methodXmlAttributeAttribute
Initializes a new instance of the System.Xml.Serialization.XmlAttributeAttribute class.
Public methodXmlAttributeAttribute(String)
Initializes a new instance of the System.Xml.Serialization.XmlAttributeAttribute class and specifies the name of the generated XML attribute.
Public methodXmlAttributeAttribute(Type)
Initializes a new instance of the System.Xml.Serialization.XmlAttributeAttribute class.
Public methodXmlAttributeAttribute(String, Type)
Initializes a new instance of the System.Xml.Serialization.XmlAttributeAttribute class.
Top
Methods
  NameDescription
Public methodEquals
Returns a value that indicates whether this instance is equal to a specified object.
(Inherited from Attribute.)
Public methodGetHashCode
Returns the hash code for this instance.
(Inherited from Attribute.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Properties
  NameDescription
Public propertyAttributeName
Gets or sets the name of the XML attribute.
Public propertyDataType
Gets or sets the XSD data type of the XML attribute generated by the System.Xml.Serialization.XmlSerializer.
Public propertyForm
Gets or sets a value that indicates whether the XML attribute name generated by the System.Xml.Serialization.XmlSerializer is qualified.
Public propertyNamespace
Gets or sets the XML namespace of the XML attribute.
Public propertyType
Gets or sets the complex type of the XML attribute.
Top
See Also