Clear Method

Html Agility Pack

Collapse imageExpand ImageCopy imageCopyHover image
Clears out the collection of HtmlNodes. Removes each nodes reference to parentnode, nextnode and prevnode

Namespace: HtmlAgilityPack
Assembly: HtmlAgilityPack (in HtmlAgilityPack.dll) Version: 1.4.0.0 (1.4.0.0)

Syntax

C#
public void Clear()
Visual Basic
Public Sub Clear
Visual C++
public:
virtual void Clear() sealed

Implements

ICollection<(Of <(<'T>)>)>..::..Clear()()()()

See Also