XmlElementAttribute Constructor
Microsoft Silverlight will reach end of support after October 2021. Learn more.
Include Protected Members
Include Inherited Members
Include Silverlight Members
Include Silverlight for Windows Phone Members
Include XNA Framework Members
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.
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. |
Top