System.Xml.Serialization.SoapAttributes.SoapAttribute Property

Gets or sets the System.Xml.Serialization.SoapAttributeAttribute to override.

Syntax

public SoapAttributeAttribute SoapAttribute { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

By default, if no attribute is applied to a public field or public read/write property, it is serialized as an XML element. You can also instruct the System.Xml.Serialization.XmlSerializer to serialize a member as an encoded SOAP XML attribute by applying a System.Xml.Serialization.SoapAttributeAttribute to the field or property. (The System.Xml.Serialization.XmlSerializer must be created with an System.Xml.Serialization.XmlTypeMapping in order to serialize an object as an encoded SOAP XML stream.)

The SoapAttributes.SoapAttribute property allows you to override the serialization controlled by applying a System.Xml.Serialization.SoapAttributeAttribute to the member. For more details on this process, 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