536cd135cc
Former-commit-id: 5624ac747d633e885131e8349322922b6a59baaa
80 lines
3.1 KiB
C#
80 lines
3.1 KiB
C#
//------------------------------------------------------------------------------
|
|
// <copyright file="XmlArrayItemAttributes.cs" company="Microsoft">
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
// </copyright>
|
|
// <owner current="true" primary="true">Microsoft</owner>
|
|
//------------------------------------------------------------------------------
|
|
|
|
namespace System.Xml.Serialization {
|
|
using System;
|
|
using System.Reflection;
|
|
using System.Collections;
|
|
using System.ComponentModel;
|
|
|
|
/// <include file='doc\XmlArrayItemAttributes.uex' path='docs/doc[@for="XmlArrayItemAttributes"]/*' />
|
|
/// <devdoc>
|
|
/// <para>[To be supplied.]</para>
|
|
/// </devdoc>
|
|
public class XmlArrayItemAttributes : CollectionBase {
|
|
|
|
/// <include file='doc\XmlArrayItemAttributes.uex' path='docs/doc[@for="XmlArrayItemAttributes.this"]/*' />
|
|
/// <devdoc>
|
|
/// <para>[To be supplied.]</para>
|
|
/// </devdoc>
|
|
public XmlArrayItemAttribute this[int index] {
|
|
get { return (XmlArrayItemAttribute)List[index]; }
|
|
set { List[index] = value; }
|
|
}
|
|
|
|
/// <include file='doc\XmlArrayItemAttributes.uex' path='docs/doc[@for="XmlArrayItemAttributes.Add"]/*' />
|
|
/// <devdoc>
|
|
/// <para>[To be supplied.]</para>
|
|
/// </devdoc>
|
|
public int Add(XmlArrayItemAttribute attribute) {
|
|
return List.Add(attribute);
|
|
}
|
|
|
|
/// <include file='doc\XmlArrayItemAttributes.uex' path='docs/doc[@for="XmlArrayItemAttributes.Insert"]/*' />
|
|
/// <devdoc>
|
|
/// <para>[To be supplied.]</para>
|
|
/// </devdoc>
|
|
public void Insert(int index, XmlArrayItemAttribute attribute) {
|
|
List.Insert(index, attribute);
|
|
}
|
|
|
|
/// <include file='doc\XmlArrayItemAttributes.uex' path='docs/doc[@for="XmlArrayItemAttributes.IndexOf"]/*' />
|
|
/// <devdoc>
|
|
/// <para>[To be supplied.]</para>
|
|
/// </devdoc>
|
|
public int IndexOf(XmlArrayItemAttribute attribute) {
|
|
return List.IndexOf(attribute);
|
|
}
|
|
|
|
/// <include file='doc\XmlArrayItemAttributes.uex' path='docs/doc[@for="XmlArrayItemAttributes.Contains"]/*' />
|
|
/// <devdoc>
|
|
/// <para>[To be supplied.]</para>
|
|
/// </devdoc>
|
|
public bool Contains(XmlArrayItemAttribute attribute) {
|
|
return List.Contains(attribute);
|
|
}
|
|
|
|
/// <include file='doc\XmlArrayItemAttributes.uex' path='docs/doc[@for="XmlArrayItemAttributes.Remove"]/*' />
|
|
/// <devdoc>
|
|
/// <para>[To be supplied.]</para>
|
|
/// </devdoc>
|
|
public void Remove(XmlArrayItemAttribute attribute) {
|
|
List.Remove(attribute);
|
|
}
|
|
|
|
/// <include file='doc\XmlArrayItemAttributes.uex' path='docs/doc[@for="XmlArrayItemAttributes.CopyTo"]/*' />
|
|
/// <devdoc>
|
|
/// <para>[To be supplied.]</para>
|
|
/// </devdoc>
|
|
public void CopyTo(XmlArrayItemAttribute[] array, int index) {
|
|
List.CopyTo(array, index);
|
|
}
|
|
|
|
}
|
|
|
|
}
|