System.Xml.Serialization.SoapEnumAttribute.Name Property

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

Syntax

public string Name { get; set; }

Value

Documentation for this section has not yet been entered.

Remarks

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

Note:

You can use the word SoapEnum instead of the longer System.Xml.Serialization.SoapEnumAttribute.

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