Click or drag to resize

DOMClient.CopyToAsync Method

Version 93.1.111
Creates a deep copy of the specified node and places it into the target container before the given anchor.

Namespace:  CefSharp.DevTools.DOM
Assembly:  CefSharp (in CefSharp.dll) Version: 93.1.111.0 (93.1.111.0)
Syntax
public Task<CopyToResponse> CopyToAsync(
	int nodeId,
	int targetNodeId,
	int? insertBeforeNodeId = null
)

Parameters

nodeId
Type: System.Int32
Id of the node to copy.
targetNodeId
Type: System.Int32
Id of the element to drop the copy into.
insertBeforeNodeId (Optional)
Type: System.Nullable<Int32>
Drop the copy before this node (if absent, the copy becomes the last child of`targetNodeId`).

Return Value

Type: Task<CopyToResponse>
returns System.Threading.Tasks.Task<CopyToResponse>
See Also