Class XmlSerializationAttribute

XmlSerializationAttribute class

Represents attribute for xml entity generator.

[AttributeUsage(AttributeTargets.Class | AttributeTargets.Method | AttributeTargets.Property, 
    AllowMultiple = true)]
public class XmlSerializationAttribute : Attribute

Constructors

NameDescription
XmlSerializationAttribute()The default constructor.

Properties

NameDescription
DefaultValue { get; set; }Get or sets default value of the property.
Name { get; set; }Get or sets overriden property name.
Type { get; set; }Get or sets serialization type. Default is attribute.

See Also