mscorlib(4.0.0.0) API with additions
XmlNodeList.cs
1 using System.Collections;
3 
4 namespace System.Xml
5 {
7  public abstract class XmlNodeList : IEnumerable, IDisposable
8  {
11  public abstract int Count
12  {
13  get;
14  }
15 
19  [IndexerName("ItemOf")]
20  public virtual XmlNode this[int i]
21  {
22  get
23  {
24  return Item(i);
25  }
26  }
27 
31  public abstract XmlNode Item(int index);
32 
35  public abstract IEnumerator GetEnumerator();
36 
38  void IDisposable.Dispose()
39  {
41  }
42 
44  protected virtual void PrivateDisposeNodeList()
45  {
46  }
47  }
48 }
abstract int Count
Gets the number of nodes in the XmlNodeList.
Definition: XmlNodeList.cs:12
Represents an ordered collection of nodes.
Definition: XmlNodeList.cs:7
Provides a mechanism for releasing unmanaged resources.To browse the .NET Framework source code for t...
Definition: IDisposable.cs:8
Definition: __Canon.cs:3
abstract XmlNode Item(int index)
Retrieves a node at the given index.
Exposes an enumerator, which supports a simple iteration over a non-generic collection....
Definition: IEnumerable.cs:9
abstract IEnumerator GetEnumerator()
Gets an enumerator that iterates through the collection of nodes.
virtual void PrivateDisposeNodeList()
Disposes resources in the node list privately.
Definition: XmlNodeList.cs:44
void Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resourc...
Represents a single node in the XML document.
Definition: XmlNode.cs:13
Supports a simple iteration over a non-generic collection.
Definition: IEnumerator.cs:9