System.Xml.Serialization.SoapAttributes.SoapElement Property

Gets or sets a System.Xml.Serialization.SoapElementAttribute to override.

Syntax

public SoapElementAttribute SoapElement { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

The System.Xml.Serialization.SoapElementAttribute is used to control the serialization of a class member as an XML element. Set the SoapAttributes.SoapElement property to a new System.Xml.Serialization.SoapElementAttribute to override the serialization of a class member as an XML element by creating a new System.Xml.Serialization.SoapElementAttribute and assigning it to the property. Then add the System.Xml.Serialization.SoapAttributes to a System.Xml.Serialization.SoapAttributeOverrides. Create an System.Xml.Serialization.XmlTypeMapping with the System.Xml.Serialization.SoapAttributeOverrides, then construct an System.Xml.Serialization.XmlSerializer with the System.Xml.Serialization.XmlTypeMapping.

For more information, see the System.Xml.Serialization.SoapAttributeOverrides class overview.

Requirements

Namespace: System.Xml.Serialization
Assembly: System.Xml (in System.Xml.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0, 4.0.0.0