XmlArrayItemAttributes.cs 653 B

12345678910111213141516171819202122232425262728293031323334353637
  1. //
  2. // XmlArrayItemAttributes.cs:
  3. //
  4. // Author:
  5. // John Donagher ([email protected])
  6. //
  7. // (C) 2002 John Donagher
  8. //
  9. using System.Xml.Serialization;
  10. using System.Collections;
  11. using System;
  12. namespace System.Xml.Serialization
  13. {
  14. /// <summary>
  15. /// Summary description for XmlArrayItemAttributes.
  16. /// </summary>
  17. public class XmlArrayItemAttributes : CollectionBase
  18. {
  19. public XmlArrayItemAttribute this [int index] {
  20. get {
  21. return (XmlArrayItemAttribute)List [index];
  22. }
  23. set {
  24. List [index] = value;
  25. }
  26. }
  27. public int Add (XmlArrayItemAttribute attribute)
  28. {
  29. return List.Add(attribute);
  30. }
  31. }
  32. }