Export (0) Print
Expand All

XmlElementAttribute Constructor

Initializes a new instance of the XmlElementAttribute class.

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

  Name Description
Public method XmlElementAttribute() Initializes a new instance of the XmlElementAttribute class.
Public method XmlElementAttribute(String) Initializes a new instance of the XmlElementAttribute class and specifies the name of the XML element.
Public method XmlElementAttribute(Type) Initializes a new instance of the XmlElementAttribute class and specifies a type for the member to which the XmlElementAttribute is applied. This type is used by the XmlSerializer when serializing or deserializing object that contains it.
Public method XmlElementAttribute(String, Type) Initializes a new instance of the XmlElementAttribute and specifies the name of the XML element and a derived type for the member to which the XmlElementAttribute is applied. This member type is used when the XmlSerializer serializes the object that contains it.
Top
Show:
© 2014 Microsoft