Name

SoapEnumAttribute — System.Xml.Serialization (system.xml.dll) CF 1.0  class 

Synopsis

public class SoapEnumAttribute : Attribute {
// Public Constructors
   public SoapEnumAttribute( );  
   public SoapEnumAttribute( string name);  
// Public Instance Properties
   public string Name{set; get; } 
}

This attribute is used to change the name of an enumeration values that should be serialized as SOAP. Its Name property specifies the name that should be serialized rather than using the name of the enumeration value. Like all the SOAP attributes, it can be applied in code or via the SoapAttributeOverrides object.

Hierarchy

System.ObjectSystem.AttributeSoapEnumAttribute

Valid On

Field

Get .NET & XML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.