Name

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

Synopsis

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

This type is used to indicate that the enumeration member to which it is applied should be serialized with the name specified in its Name property.

Hierarchy

System.ObjectSystem.AttributeXmlEnumAttribute

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.