HtmlDocumentParse(HtmlNodeCollection, StringTokenCollection, Int32, Boolean, Boolean) Method
Parse the HTML elements token list into individual nodes.
Namespace: HtmlAssembly: Html (in Html.dll) Version: 25.2822.3845
public static int Parse(
HtmlNodeCollection nodes,
StringTokenCollection tokens,
int tokenIndex,
bool comments,
bool preserveSpace
)
Public Shared Function Parse (
nodes As HtmlNodeCollection,
tokens As StringTokenCollection,
tokenIndex As Integer,
comments As Boolean,
preserveSpace As Boolean
) As Integer
No code example is currently available or this language may not be supported.
- nodes HtmlNodeCollection
-
Reference to the collection of nodes to which each item will be added.
- tokens StringTokenCollection
-
Reference to the collection of string tokens containing the valid HTML
elements.
- tokenIndex Int32
-
Index of the current token to be parsed in the sequential list.
- comments Boolean
-
Value indicating whether to include comments in the output/
- preserveSpace Boolean
-
Value indicating whether to preserve all space in the document.
Int32
Index of the last captured token.