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