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 Supported by the XNA Framework Supported by Portable Class Library XmlElementAttribute() Initializes a new instance of the XmlElementAttribute class.
Public method Supported by the XNA Framework Supported by Portable Class Library XmlElementAttribute(String) Initializes a new instance of the XmlElementAttribute class and specifies the name of the XML element.
Public method Supported by the XNA Framework Supported by Portable Class Library 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 Supported by the XNA Framework Supported by Portable Class Library 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:
© 2015 Microsoft