HtmlDocument(String, Boolean, Boolean) Constructor

Create a new Instance of the HtmlDocument Item.

Definition

Namespace: Html
Assembly: Html (in Html.dll) Version: 25.2822.3845
C#
public HtmlDocument(
	string html,
	bool includeComments = true,
	bool preserveSpace = false
)

Parameters

html  String
Html content to preload the Document with while creating.
includeComments  Boolean  (Optional)
Value indicating whether to include comments in the content.
preserveSpace  Boolean  (Optional)
Value indicating whether to preserve whitespace throughout the document.

See Also