XmlNodeList.cs 634 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //
  2. // System.Xml.XmlNodeList
  3. //
  4. // Author:
  5. // Kral Ferch <[email protected]>
  6. //
  7. // (C) 2002 Kral Ferch
  8. //
  9. using System;
  10. using System.Collections;
  11. namespace System.Xml
  12. {
  13. public abstract class XmlNodeList : IEnumerable
  14. {
  15. #region Constructors
  16. protected XmlNodeList() { }
  17. #endregion
  18. #region Properties
  19. public abstract int Count { get; }
  20. [System.Runtime.CompilerServices.IndexerName("ItemOf")]
  21. public virtual XmlNode this [int i] {
  22. get { return Item(i); }
  23. }
  24. #endregion
  25. #region Methods
  26. public abstract IEnumerator GetEnumerator ();
  27. public abstract XmlNode Item (int index);
  28. #endregion
  29. }
  30. }