HtmlDocumentParse(HtmlDocument, String, Boolean, Boolean) Method
Parses the supplied HTML String to construct a basic Document.
Namespace: HtmlAssembly: Html (in Html.dll) Version: 25.2822.3845
public static void Parse(
HtmlDocument document,
string html,
bool comments,
bool preserveSpace
)
Public Shared Sub Parse (
document As HtmlDocument,
html As String,
comments As Boolean,
preserveSpace As Boolean
)
No code example is currently available or this language may not be supported.
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.
This basic method does not apply most basic rules except the
expectation that the string be well-structured.