Skip to main content

Search OfficeIMO

Enter a topic, API type, or PowerShell command.

Documentation Search all OfficeIMO/

API Reference

Enum

HtmlNodeKind

Namespace OfficeIMO.Html.Dom
Assembly OfficeIMO.Html.Core
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Structural node categories retained independently of a parser implementation.

Inheritance

  • Enum
  • HtmlNodeKind

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Values

public const HtmlNodeKind Document #

An HTML document.

Value: 0
public const HtmlNodeKind Element #

An element in the HTML, SVG, MathML or another namespace.

Value: 1
public const HtmlNodeKind Text #

Decoded character data.

Value: 2
public const HtmlNodeKind Comment #

A source comment.

Value: 3
public const HtmlNodeKind DocumentType #

A document type declaration.

Value: 4
public const HtmlNodeKind DocumentFragment #

A detached group of nodes, including template contents.

Value: 5