DOMClientCopyToAsync Method  | 
Version 104.4.240 
            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: 104.4.240.0 (104.4.240.0)
Syntaxpublic Task<CopyToResponse> CopyToAsync(
	int nodeId,
	int targetNodeId,
	int? insertBeforeNodeId = null
)
public:
Task<CopyToResponse^>^ CopyToAsync(
	int nodeId, 
	int targetNodeId, 
	Nullable<int> insertBeforeNodeId = nullptr
)
Parameters
- nodeId
 - Type: SystemInt32
Id of the node to copy. - targetNodeId
 - Type: SystemInt32
Id of the element to drop the copy into. - insertBeforeNodeId (Optional)
 - Type: SystemNullableInt32
Drop the copy before this node (if absent, the copy becomes the last child of`targetNodeId`). 
Return Value
Type: 
TaskCopyToResponsereturns System.Threading.Tasks.Task<CopyToResponse>
See Also