XmlElementAttribute Constructor
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
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 | |
|---|---|---|
|
XmlElementAttribute | Initializes a new instance of the XmlElementAttribute class. |
|
XmlElementAttribute(String) | Initializes a new instance of the XmlElementAttribute class and specifies the name of the XML element. |
|
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. |
|
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. |
Show: