DescendantsAndSelf Method

Html Agility Pack

Collapse imageExpand ImageCopy imageCopyHover image
Returns a collection of all descendant nodes of this element, in document order

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

Syntax

C#
public IEnumerable<HtmlNode> DescendantsAndSelf()
Visual Basic
Public Function DescendantsAndSelf As IEnumerable(Of HtmlNode)
Visual C++
public:
IEnumerable<HtmlNode^>^ DescendantsAndSelf()

Return Value

See Also