NodeCollection Methods

The NodeCollection type exposes the following members.

Methods
  NameDescription
Public methodCode exampleAdd
Adds a node to the end of the collection.
Public methodCode exampleClear
Removes all nodes from this collection and from the document.
Public methodCode exampleContains
Determines whether a node is in the collection.
Public methodEquals (Inherited from Object.)
Public methodGetEnumerator
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodCode exampleIndexOf
Returns the zero-based index of the specified node.
Public methodCode exampleInsert
Inserts a node into the collection at the specified index.
Public methodCode exampleRemove
Removes the node from the collection and from the document.
Public methodCode exampleRemoveAt
Removes the node at the specified index from the collection and from the document.
Public methodCode exampleToArray
Copies all nodes from the collection to a new array of nodes.
Public methodToString (Inherited from Object.)
See Also