HtmlDocumentParse(HtmlDocument, String, Boolean, Boolean) Method

Parses the supplied HTML String to construct a basic Document.

Definition

Namespace: Html
Assembly: Html (in Html.dll) Version: 25.2822.3845
C#
public static void Parse(
	HtmlDocument document,
	string html,
	bool comments,
	bool preserveSpace
)

Parameters

document  HtmlDocument
Instance of an HTML Document to Parse.
html  String
String containing HTML formatted information.
comments  Boolean
Value indicating whether to include comments.
preserveSpace  Boolean
Value indicating whether to preserve all space in the document.

Remarks

This basic method does not apply most basic rules except the expectation that the string be well-structured.

See Also