1 //------------------------------------------------------------------------------
2 // <copyright file="XmlArrayItemAttributes.cs" company="Microsoft">
3 // Copyright (c) Microsoft Corporation. All rights reserved.
5 // <owner current="true" primary="true">Microsoft</owner>
6 //------------------------------------------------------------------------------
8 namespace System
.Xml
.Serialization
{
10 using System
.Reflection
;
11 using System
.Collections
;
12 using System
.ComponentModel
;
14 /// <include file='doc\XmlArrayItemAttributes.uex' path='docs/doc[@for="XmlArrayItemAttributes"]/*' />
16 /// <para>[To be supplied.]</para>
18 public class XmlArrayItemAttributes
: CollectionBase
{
20 /// <include file='doc\XmlArrayItemAttributes.uex' path='docs/doc[@for="XmlArrayItemAttributes.this"]/*' />
22 /// <para>[To be supplied.]</para>
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"]/*' />
31 /// <para>[To be supplied.]</para>
33 public int Add(XmlArrayItemAttribute attribute
) {
34 return List
.Add(attribute
);
37 /// <include file='doc\XmlArrayItemAttributes.uex' path='docs/doc[@for="XmlArrayItemAttributes.Insert"]/*' />
39 /// <para>[To be supplied.]</para>
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"]/*' />
47 /// <para>[To be supplied.]</para>
49 public int IndexOf(XmlArrayItemAttribute attribute
) {
50 return List
.IndexOf(attribute
);
53 /// <include file='doc\XmlArrayItemAttributes.uex' path='docs/doc[@for="XmlArrayItemAttributes.Contains"]/*' />
55 /// <para>[To be supplied.]</para>
57 public bool Contains(XmlArrayItemAttribute attribute
) {
58 return List
.Contains(attribute
);
61 /// <include file='doc\XmlArrayItemAttributes.uex' path='docs/doc[@for="XmlArrayItemAttributes.Remove"]/*' />
63 /// <para>[To be supplied.]</para>
65 public void Remove(XmlArrayItemAttribute attribute
) {
66 List
.Remove(attribute
);
69 /// <include file='doc\XmlArrayItemAttributes.uex' path='docs/doc[@for="XmlArrayItemAttributes.CopyTo"]/*' />
71 /// <para>[To be supplied.]</para>
73 public void CopyTo(XmlArrayItemAttribute
[] array
, int index
) {
74 List
.CopyTo(array
, index
);