Updates referencesource to .NET 4.7
[mono.git] / mcs / class / referencesource / System.Xml / System / Xml / Serialization / XmlAnyElementAttributes.cs
1 //------------------------------------------------------------------------------
2 // <copyright file="XmlAnyElementAttributes.cs" company="Microsoft">
3 //     Copyright (c) Microsoft Corporation.  All rights reserved.
4 // </copyright>
5 // <owner current="true" primary="true">Microsoft</owner>                                                                
6 //------------------------------------------------------------------------------
7
8 namespace System.Xml.Serialization {
9     using System;
10     using System.Reflection;
11     using System.Collections;
12     using System.ComponentModel;
13
14     /// <include file='doc\XmlAnyElementAttributes.uex' path='docs/doc[@for="XmlAnyElementAttributes"]/*' />
15     /// <devdoc>
16     ///    <para>[To be supplied.]</para>
17     /// </devdoc>
18     public class XmlAnyElementAttributes : CollectionBase {
19         
20         /// <include file='doc\XmlAnyElementAttributes.uex' path='docs/doc[@for="XmlAnyElementAttributes.this"]/*' />
21         /// <devdoc>
22         ///    <para>[To be supplied.]</para>
23         /// </devdoc>
24         public XmlAnyElementAttribute this[int index] {
25             get { return (XmlAnyElementAttribute)List[index]; }
26             set { List[index] = value; }
27         }
28         
29         /// <include file='doc\XmlAnyElementAttributes.uex' path='docs/doc[@for="XmlAnyElementAttributes.Add"]/*' />
30         /// <devdoc>
31         ///    <para>[To be supplied.]</para>
32         /// </devdoc>
33         public int Add(XmlAnyElementAttribute attribute) {
34             return List.Add(attribute);
35         }
36         
37         /// <include file='doc\XmlAnyElementAttributes.uex' path='docs/doc[@for="XmlAnyElementAttributes.Insert"]/*' />
38         /// <devdoc>
39         ///    <para>[To be supplied.]</para>
40         /// </devdoc>
41         public void Insert(int index, XmlAnyElementAttribute attribute) {
42             List.Insert(index, attribute);
43         }
44         
45         /// <include file='doc\XmlAnyElementAttributes.uex' path='docs/doc[@for="XmlAnyElementAttributes.IndexOf"]/*' />
46         /// <devdoc>
47         ///    <para>[To be supplied.]</para>
48         /// </devdoc>
49         public int IndexOf(XmlAnyElementAttribute attribute) {
50             return List.IndexOf(attribute);
51         }
52         
53         /// <include file='doc\XmlAnyElementAttributes.uex' path='docs/doc[@for="XmlAnyElementAttributes.Contains"]/*' />
54         /// <devdoc>
55         ///    <para>[To be supplied.]</para>
56         /// </devdoc>
57         public bool Contains(XmlAnyElementAttribute attribute) {
58             return List.Contains(attribute);
59         }
60         
61         /// <include file='doc\XmlAnyElementAttributes.uex' path='docs/doc[@for="XmlAnyElementAttributes.Remove"]/*' />
62         /// <devdoc>
63         ///    <para>[To be supplied.]</para>
64         /// </devdoc>
65         public void Remove(XmlAnyElementAttribute attribute) {
66             List.Remove(attribute);
67         }
68         
69         /// <include file='doc\XmlAnyElementAttributes.uex' path='docs/doc[@for="XmlAnyElementAttributes.CopyTo"]/*' />
70         /// <devdoc>
71         ///    <para>[To be supplied.]</para>
72         /// </devdoc>
73         public void CopyTo(XmlAnyElementAttribute[] array, int index) {
74             List.CopyTo(array, index);
75         }
76         
77     }
78
79
80
81 }