XmlElementAttributes.cs 605 B

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