XmlElementAttribute Constructor

 

Initializes a new instance of the XmlElementAttribute class.

Namespace:   System.Xml.Serialization
Assembly:  System.Xml (in System.Xml.dll)

NameDescription
System_CAPS_pubmethodXmlElementAttribute()

Initializes a new instance of the XmlElementAttribute class.

System_CAPS_pubmethodXmlElementAttribute(String)

Initializes a new instance of the XmlElementAttribute class and specifies the name of the XML element.

System_CAPS_pubmethodXmlElementAttribute(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.

System_CAPS_pubmethodXmlElementAttribute(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.

Return to top
Show: