CreateComment Method

Html Agility Pack

Collapse imageExpand ImageCopy imageCopyHover image
Creates an HTML comment node.

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

Syntax

C#
public HtmlCommentNode CreateComment()
Visual Basic
Public Function CreateComment As HtmlCommentNode
Visual C++
public:
HtmlCommentNode^ CreateComment()

Return Value

The new HTML comment node.

See Also