Click or drag to resize

NodeType Enumeration

Represents the node types that can be used to distinguish different kind of nodes (such as an HTML element, text, attribute) from each other.

Namespace:  DotNetBrowser.Dom
Assembly:  DotNetBrowser (in DotNetBrowser.dll) Version: 2.13.0
Syntax
C#
public enum NodeType
Members
  Member nameValueDescription
Unknown0 Unknown node type.
ElementNode1 An element node, such as `<p>` or `<div>`.
AttributeNode2 An attribute of the HTML element.
TextNode3 The actual text of the HTML element or the attribute.
CDataSectionNode4 A [CDATA] section.
EntityReferenceNode5 An XML entity reference node.
EntityNode6 An XML <!ENTITY ...> node.
ProcessingInstructionsNode7 A ProcessingInstruction of an XML document such as <?xml-stylesheet ... ?> declaration.
CommentNode8 The content between between the <!-- and --> statements.
DocumentNode9 The document node.
DocumentTypeNode10 The document type node. For example, <!DOCTYPE html> for HTML5 documents.
DocumentFragmentNode11 A segment of the document structure.
NotationNode12 An XML <!NOTATION ...> node.
XPathNamespaceNode13 An XPath namespace node.
ShadowRootNode14 A shadow root node.
See Also