Templated Collection Classes

XmlTemplatedCollectionBase<T> - This is the base class for all the templated collections within the generated code. These are further specialised into the following:

XmlAbstractCollection<T> - This is the base class for all the generated abstract object collection classes.

XmlCollection<T> - This is the base class for all the generated object collection classes.

XmlEnumCollection<T> - This is the base class for all the generated enum type collection classes.

XmlTypeCollection<T> - This is the base class for all the generated simple type collection classes.

Implements :   IList and IBindingList (IList, ICollection, IEnumerable)
Derives From :XmlCollectionBase
  Members Description  
    Add Adds an item to the collection  
    Clear (inherited from XmlCollectionBase) Removes all the items from the collection  
    Clone (inherited from XmlObjectBase)

Makes a complete copy of the given object

 
    Constructor Initilises the class  
    Count (inherited from XmlCollectionBase) Obtains the number of objects held in the collection  
    Equals (inherited from XmlObjectBase) Performs a deep comparison of all the properties within the object (and their children)  
    FromXml (inherited from XmlObjectInterface) Reads XML data from a string  
    FromXmlElement (inherited from XmlObjectInterface) Reads XML data from an XML element  
    FromXmlFile (inherited from XmlObjectInterface) Reads XML data from a file  
    FromXmlStream (inherited from XmlObjectInterface) Reads XML data from a stream  
    GetBase (inherited from XmlObjectInterface) Gets the CXmlObjectBase that all Xml objects must derive from.  
    GetElementName (inherited from XmlObjectBase) Gets the name of an element that this class represents  
    GetEnumerator (inherited from XmlCollectionBase) Provides access to the IEnumerator interface (allows foreach style loops)  
    Item (inherited from XmlCollectionBase) Gets the object at a specified index.  
    NoBanner (inherited from XmlObjectBase) Static Turns of the output of the banner in the XML  
    OnCollectionAdd (inherited from XmlCollectionBase) Event - Fired before an item is added to the collection  
    OnCollectionAddComplete (inherited from XmlCollectionBase) Event - Fired after an item is added to the collection  
    OnCollectionChange (inherited from XmlCollectionBase) Event - Fired after an item as been added or removed.  
    OnCollectionRemove (inherited from XmlCollectionBase) Event - Fired before an item is removed from the collection  
    OnCollectionRemoveComplete (inherited from XmlCollectionBase) Event - Fired after an item is removed from the collection  
    operator [] Allows array style access to the collection  
    Remove (inherited from XmlCollectionBase) Removes an item from the collection at a given index  
    ToString (inherited from XmlCollectionBase) Gets the XML representation of the collection  
    ToXml (inherited from XmlObjectInterface) Turns the object into an XML string  
    ToXmlFile (inherited from XmlObjectInterface) Turns the object into XML, and writes it to a file  
    ToXmlStream (inherited from XmlObjectInterface) Turns the object into XML in the form of a binary stream of bytes  
    ValidateCount (inherited from XmlCollectionBase) Validates that the collection contains a valid number of objects (throws if it has not)