CreateNode Method

Html Agility Pack

Collapse imageExpand ImageCopy imageCopyHover image
Creates an HTML node from a string representing literal HTML.

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

Syntax

C#
public static HtmlNode CreateNode(
	string html
)
Visual Basic
Public Shared Function CreateNode ( _
	html As String _
) As HtmlNode
Visual C++
public:
static HtmlNode^ CreateNode(
	String^ html
)

Parameters

html
Type: System..::..String
The HTML text.

Return Value

The newly created node instance.

See Also