DOMClientCopyToAsync Method |
Version 130.1.90
Creates a deep copy of the specified node and places it into the target container before the
given anchor.
Namespace: CefSharp.DevTools.DOMAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax public Task<CopyToResponse> CopyToAsync(
int nodeId,
int targetNodeId,
int? insertBeforeNodeId = null
)
public:
Task<CopyToResponse^>^ CopyToAsync(
int nodeId,
int targetNodeId,
Nullable<int> insertBeforeNodeId = nullptr
)
Parameters
- nodeId Int32
- Id of the node to copy.
- targetNodeId Int32
- Id of the element to drop the copy into.
- insertBeforeNodeId NullableInt32 (Optional)
- Drop the copy before this node (if absent, the copy becomes the last child of`targetNodeId`).
Return Value
TaskCopyToResponsereturns System.Threading.Tasks.Task<CopyToResponse>
See Also