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.Attribute System.AttributeUsage(System.AttributeTargets.Field)

The class belongs to a family of attributes that controls how the serializes or deserializes an object as encoded SOAP XML. The resulting XML conforms to section 5 of the World Wide Web Consortium (www.w3.org) document "Simple Object Access Protocol (SOAP) 1.1". For a complete list of similar attributes, see [<topic://cpconAttributesThatControlSOAPEncodedSerialization>].

To serialize an object as an encoded SOAP message, you must construct the using an created with the method of the class.

Use the to change the enumeration that the generates or recognizes (when it serializes or deserializes a class, respectively). For example, if an enumeration contains a member named One, but you prefer that the XML output be named Single, apply the to the enumeration member and set the property to "Single".

You can override the property value of a by creating an instance of the class and assigning it to the property of a . For details, see the class overview.

To serialize an object as an encoded SOAP message, you must construct the using an created with the method of the class.

You can use the word SoapEnum in your code instead of the longer .

For more information about using attributes, see [<topic://cpconExtendingMetadataUsingAttributes>].

Controls how the serializes an enumeration member.

- Constructor
  1.0.5000.0
  2.0.0.0
  4.0.0.0

  Use the to override an existing enumeration. Create a new , set its properties and assign the object to the property of a . For each member of the enumeration, you must create a new and add it to the . For more details, see the class overview.

  You can use the word SoapEnum in your code instead of the longer .

  Initializes a new instance of the class.

- Constructor
  1.0.5000.0
  2.0.0.0
  4.0.0.0

  Specify the when you want the generated XML enumerator to differ from the enumerator found in the enumeration.

  You can use the word SoapEnum in your code instead of the longer .

  Initializes a new instance of the class using the specified element name.

  The XML element name generated by the .
- Property
  1.0.5000.0
  2.0.0.0
  4.0.0.0
  System.String To be added: an object of type 'string'

  Specify the when you want the generated XML enumerator to differ from the enumerator found in the enumeration.

  You can use the word SoapEnum instead of the longer .

  Gets or sets the value generated in an XML document when the serializes an enumeration, or the value recognized when it deserializes the enumeration member.