







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. |
