The Labs \ Source Viewer \ SSCLI \ System.Xml.Serialization \ XmlAnyElementAttributes

  1. //------------------------------------------------------------------------------
  2. // <copyright file="XmlAnyElementAttributes.cs" company="Microsoft">
  3. //
  4. // Copyright (c) 2006 Microsoft Corporation. All rights reserved.
  5. //
  6. // The use and distribution terms for this software are contained in the file
  7. // named license.txt, which can be found in the root of this distribution.
  8. // By using this software in any fashion, you are agreeing to be bound by the
  9. // terms of this license.
  10. //
  11. // You must not remove this notice, or any other, from this software.
  12. //
  13. // </copyright>
  14. // <owner current="true" primary="true">ElenaK</owner>
  15. //------------------------------------------------------------------------------
  16. namespace System.Xml.Serialization
  17. {
  18.     using System;
  19.     using System.Reflection;
  20.     using System.Collections;
  21.     using System.ComponentModel;
  22.    
  23.     /// <include file='doc\XmlAnyElementAttributes.uex' path='docs/doc[@for="XmlAnyElementAttributes"]/*' />
  24.     /// <devdoc>
  25.     /// <para>[To be supplied.]</para>
  26.     /// </devdoc>
  27.     public class XmlAnyElementAttributes : CollectionBase
  28.     {
  29.        
  30.         /// <include file='doc\XmlAnyElementAttributes.uex' path='docs/doc[@for="XmlAnyElementAttributes.this"]/*' />
  31.         /// <devdoc>
  32.         /// <para>[To be supplied.]</para>
  33.         /// </devdoc>
  34.         public XmlAnyElementAttribute this[int index]
  35.         {
  36.             get { return (XmlAnyElementAttribute)List[index]; }
  37.             set { List[index] = value; }
  38.         }
  39.        
  40.         /// <include file='doc\XmlAnyElementAttributes.uex' path='docs/doc[@for="XmlAnyElementAttributes.Add"]/*' />
  41.         /// <devdoc>
  42.         /// <para>[To be supplied.]</para>
  43.         /// </devdoc>
  44.         public int Add(XmlAnyElementAttribute attribute)
  45.         {
  46.             return List.Add(attribute);
  47.         }
  48.        
  49.         /// <include file='doc\XmlAnyElementAttributes.uex' path='docs/doc[@for="XmlAnyElementAttributes.Insert"]/*' />
  50.         /// <devdoc>
  51.         /// <para>[To be supplied.]</para>
  52.         /// </devdoc>
  53.         public void Insert(int index, XmlAnyElementAttribute attribute)
  54.         {
  55.             List.Insert(index, attribute);
  56.         }
  57.        
  58.         /// <include file='doc\XmlAnyElementAttributes.uex' path='docs/doc[@for="XmlAnyElementAttributes.IndexOf"]/*' />
  59.         /// <devdoc>
  60.         /// <para>[To be supplied.]</para>
  61.         /// </devdoc>
  62.         public int IndexOf(XmlAnyElementAttribute attribute)
  63.         {
  64.             return List.IndexOf(attribute);
  65.         }
  66.        
  67.         /// <include file='doc\XmlAnyElementAttributes.uex' path='docs/doc[@for="XmlAnyElementAttributes.Contains"]/*' />
  68.         /// <devdoc>
  69.         /// <para>[To be supplied.]</para>
  70.         /// </devdoc>
  71.         public bool Contains(XmlAnyElementAttribute attribute)
  72.         {
  73.             return List.Contains(attribute);
  74.         }
  75.        
  76.         /// <include file='doc\XmlAnyElementAttributes.uex' path='docs/doc[@for="XmlAnyElementAttributes.Remove"]/*' />
  77.         /// <devdoc>
  78.         /// <para>[To be supplied.]</para>
  79.         /// </devdoc>
  80.         public void Remove(XmlAnyElementAttribute attribute)
  81.         {
  82.             List.Remove(attribute);
  83.         }
  84.        
  85.         /// <include file='doc\XmlAnyElementAttributes.uex' path='docs/doc[@for="XmlAnyElementAttributes.CopyTo"]/*' />
  86.         /// <devdoc>
  87.         /// <para>[To be supplied.]</para>
  88.         /// </devdoc>
  89.         public void CopyTo(XmlAnyElementAttribute[] array, int index)
  90.         {
  91.             List.CopyTo(array, index);
  92.         }
  93.        
  94.     }
  95.    
  96.    
  97.    
  98. }

Developer Fusion