System.Xml [00 00 00 00 00 00 00 00 04 00 00 00 00 00 00 00] 1.0.5000.0 2.0.0.0 4.0.0.0 To be added System.Object

Creating a is part of a process that overrides the default way the serializes class instances. For example, suppose you want to serialize an object that is created from a DLL that has an inaccessible source. By using the class, you can augment or otherwise control how the object is serialized.

The members of the class correspond directly to a family of attribute classes that control serialization. For example, the property must be set to a , which allows you to override serialization of a field or property by instructing the to serialize the property value as an encoded SOAP attribute. For a complete list of attributes that control encoded SOAP serialization, see [<topic://cpconAttributesThatControlSOAPEncodedSerialization>].

For more details about adding an instance of the class to an instance of the class, see the class overview.

Represents a collection of attribute objects that control how the serializes and deserializes SOAP methods.

- Constructor
  1.0.5000.0
  2.0.0.0
  4.0.0.0

  For each member or class instance whose serialization is being overridden, you must create a new . Set the properties for the as appropriate to the member or object, then add the to an instance of the class.

  Initializes a new instance of the class.

- Constructor
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  To be added

  Initializes a new instance of the class using the specified custom type.

  Any object that implements the interface, such as the class.
- Property
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Xml.Serialization.SoapAttributeAttribute To be added: an object of type 'SoapAttributeAttribute'

  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 to serialize a member as an encoded SOAP XML attribute by applying a to the field or property. (The must be created with an in order to serialize an object as an encoded SOAP XML stream.)

  The property allows you to override the serialization controlled by applying a to the member. For more details on this process, see the class overview.

  Gets or sets the to override.

- Property
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Object To be added: an object of type 'object'

  The default value of a member can be set by applying a attribute to the member. If the member is being serialized as an encoded SOAP message, you can change the default value by creating a new , setting its property, and setting the property to the object. Add the to a . For more details, see the class overview.

  Gets or sets the default value of an XML element or attribute.

- Property
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Xml.Serialization.SoapElementAttribute To be added: an object of type 'SoapElementAttribute'

  The is used to control the serialization of a class member as an XML element. Set the property to a new to override the serialization of a class member as an XML element by creating a new and assigning it to the property. Then add the to a . Create an with the , then construct an with the .

  For more information, see the class overview.

  Gets or sets a to override.

- Property
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Xml.Serialization.SoapEnumAttribute To be added: an object of type 'SoapEnumAttribute'

  The is used to control the serialization of an enumeration member. Set the property to a new to override the serialization of such a member.

  For more information, see the class overview.

  Gets or sets an object that specifies how the serializes a SOAP enumeration.

- Property
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Boolean To be added: an object of type 'bool'

  By default, all public fields and public read/write properties are serialized by the . That is, the value of each public field or property is persisted as an XML element or XML attribute in an XML document.

  To override the default serialization of a field or property, create a , and set its property to true. Use the method to add the object to a and specify the type of the object that contains the field or property to ignore and the name of the field or property to ignore.

  If a is applied to a field or property, the field or property is ignored. However you can override that behavior by creating a , setting its property to false, and adding it to a , specifying the type of the object that contains the field or property and the name of the field or property.

  Gets or sets a value that specifies whether the serializes a public field or property as encoded SOAP XML.

- Property
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.Xml.Serialization.SoapTypeAttribute To be added: an object of type 'SoapTypeAttribute'

  The can be used to control the XML stream generated by the . Set the property to a new to control the schema for the XML that is generated when a class is serialized.

  Gets or sets an object that instructs the how to serialize an object type into encoded SOAP XML.