Interface INodeCollection
- Namespace
- DotNetBrowser.Dom
- Assembly
- DotNetBrowser.dll
Represents a collection of the DOM nodes.
public interface INodeCollection : IEnumerable<INode>, IEnumerable
- Inherited Members
Methods
- Append(INode)
Appends a node as the last item of the collection. The new node could be an existing node in the document, or a new node. If the node is existing node, it will be moved to new location in the document.
- AsReadOnly()
Returns the snapshot of the items in the collection as a read-only list.
- Insert(INode, INode)
Inserts a new
node
before an existingbeforeNode
.
- Remove(INode)
Removes a node from the collection.
- Replace(INode, INode)
Replaces an existing child node with a new node. The new node could be an existing node in the document, or you can create a new node. If the
newNode
is an existing node, it will be moved to new location in the document.