Click or drag to resize
XmlElementAttribute Constructor
Overload List
  NameDescription
Public methodXmlElementAttribute
Initializes a new instance of the System.Xml.Serialization.XmlElementAttribute class.
Public methodXmlElementAttribute(String)
Initializes a new instance of the System.Xml.Serialization.XmlElementAttribute class and specifies the name of the XML element.
Public methodXmlElementAttribute(Type)
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.
Public methodXmlElementAttribute(String, Type)
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.
Top
See Also