HtmlNodeCollection Methods |
The HtmlNodeCollection type exposes the following members.
Name | Description | |
---|---|---|
Add |
Add node to the collection
| |
Append |
Add node to the end of the collection
| |
Clear |
Clears out the collection of HtmlNodes. Removes each nodes reference to parentnode, nextnode and prevnode
| |
Contains |
Gets existence of node in collection
| |
CopyTo |
Copy collection to array
| |
Descendants |
Get all node descended from this collection
| |
Descendants(String) |
Get all node descended from this collection with matching name
| |
Elements |
Gets all first generation elements in collection
| |
Elements(String) |
Gets all first generation elements matching name
| |
FindFirst(String) |
Get first instance of node with name
| |
FindFirst(HtmlNodeCollection, String) |
Get first instance of node in supplied collection
| |
GetNodeIndex |
Get index of node
| |
IndexOf |
Get index of node
| |
Insert |
Insert node at index
| |
Nodes |
All first generation nodes in collection
| |
Prepend |
Add node to the beginning of the collection
| |
Remove(Int32) |
Remove node at index
| |
Remove(HtmlNode) |
Remove node
| |
RemoveAt |
Remove HtmlNode at index
| |
Replace |
Replace node at index
|