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