HtmlNodeType Enumeration

Html Agility Pack

Collapse imageExpand ImageCopy imageCopyHover image
Represents the type of a node.

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

Syntax

C#
public enum HtmlNodeType
Visual Basic
Public Enumeration HtmlNodeType
Visual C++
public enum class HtmlNodeType

Members

Member nameValueDescription
Document0 The root of a document.
Element1 An HTML element.
Comment2 An HTML comment.
Text3 A text node is always the child of an element or a document node.

See Also