Skip to Content
.NET & XML
book

.NET & XML

by Niel M. Bornstein
November 2003
Intermediate to advanced
476 pages
14h 38m
English
O'Reilly Media, Inc.
Content preview from .NET & XML

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

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Applied XML Programming for Microsoft® .NET

Applied XML Programming for Microsoft® .NET

Dino Esposito
XML Hacks

XML Hacks

Michael Fitzgerald

Publisher Resources

ISBN: 0596003978Supplemental ContentErrata