Name

XmlElementAttributes — System.Xml.Serialization (system.xml.dll)    class 

Synopsis

public class XmlElementAttributes : CollectionBase {
// Public Constructors
   public XmlElementAttributes( );  
// Public Instance Properties
   public XmlElementAttribute this[ int index ]{set; get; } 
// Public Instance Methods
   public int Add( XmlElementAttribute attribute);  
   public bool Contains( XmlElementAttribute attribute);  
   public void CopyTo( XmlElementAttribute[ ] array, int index);  
   public int IndexOf( XmlElementAttribute attribute);  
   public void Insert( int index, XmlElementAttribute attribute);  
   public void Remove( XmlElementAttribute attribute);  
}

This type provides a collection of XmlElementAttribute objects, which allows you to customize the serialization of a member as an XML element. An instance of XmlElementAttributes is returned by the XmlAttributes.XmlElements property of XmlAttributes.

Hierarchy

System.ObjectSystem.Collections.CollectionBase(System.Collections.IList, System.Collections.ICollection, System.Collections.IEnumerable)XmlElementAttributes

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.