Elements Method

Html Agility Pack

Collapse imageExpand ImageCopy imageCopyHover image
Gets all first generation elements in collection

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

Syntax

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

Return Value

See Also