![Collapse image Collapse image](collapse_all.gif)
![Expand Image Expand Image](expand_all.gif)
![](collapse_all.gif)
![](expand_all.gif)
![](dropdown.gif)
![](dropdownHover.gif)
![Copy image Copy image](copycode.gif)
![CopyHover image CopyHover image](copycodeHighlight.gif)
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 name | Value | Description | |
---|---|---|---|
Document | 0 | The root of a document. | |
Element | 1 | An HTML element. | |
Comment | 2 | An HTML comment. | |
Text | 3 | A text node is always the child of an element or a document node. |