HtmlNodeCollectionClone Method
Return a deep copy of the provided HTML node collection.
Namespace: HtmlAssembly: Html (in Html.dll) Version: 25.2822.3845
public static HtmlNodeCollection Clone(
HtmlNodeCollection nodes,
List<string> uniqueIds = null
)
Public Shared Function Clone (
nodes As HtmlNodeCollection,
Optional uniqueIds As List(Of String) = Nothing
) As HtmlNodeCollection
No code example is currently available or this language may not be supported.
- nodes HtmlNodeCollection
-
Reference to the collection of nodes to copy.
- uniqueIds ListString (Optional)
-
Optional reference to a collection of unique IDs to be avoided.
If omitted, a list will be created from the root node.
HtmlNodeCollection
Reference to the newly cloned collection, if a legitimate source
was supplied. Otherwise, null.