DekGenius.com
[ Team LiB ] Previous Section Next Section

XmlAttributesSystem.Xml.Serialization (system.xml.dll)    class 

public class XmlAttributes {
// Public Constructors
   public XmlAttributes( );  
   public XmlAttributes( System.Reflection.ICustomAttributeProvider provider);  
// Public Instance Properties
   public XmlAnyAttributeAttribute XmlAnyAttribute{set; get; } 
   public XmlAnyElementAttributes XmlAnyElements{get; } 
   public XmlArrayAttribute XmlArray{set; get; } 
   public XmlArrayItemAttributes XmlArrayItems{get; } 
   public XmlAttributeAttribute XmlAttribute{set; get; } 
   public XmlChoiceIdentifierAttribute XmlChoiceIdentifier{get; } 
   public object XmlDefaultValue{set; get; } 
   public XmlElementAttributes XmlElements{get; } 
   public XmlEnumAttribute XmlEnum{set; get; } 
   public bool XmlIgnore{set; get; } 
   public bool Xmlns{set; get; } 
   public XmlRootAttribute XmlRoot{set; get; } 
   public XmlTextAttribute XmlText{set; get; } 
   public XmlTypeAttribute XmlType{set; get; } 
}

This type is used in conjunction with the XmlAttributeOverrides class to customize the serialization of an object at runtime. It has a property for each type of XML serialization attribute, which allows you to set the attributes at runtime.

    [ Team LiB ] Previous Section Next Section