DOMClientMoveToAsync Method |
Version 113.3.50
Moves node into the new container, places it before the given anchor.
Namespace:
CefSharp.DevTools.DOM
Assembly:
CefSharp.Core (in CefSharp.Core.dll) Version: 113.3.50.0
Syntax public Task<MoveToResponse> MoveToAsync(
int nodeId,
int targetNodeId,
int? insertBeforeNodeId = null
)
public:
Task<MoveToResponse^>^ MoveToAsync(
int nodeId,
int targetNodeId,
Nullable<int> insertBeforeNodeId = nullptr
)
Parameters
- nodeId
- Type: SystemInt32
Id of the node to move. - targetNodeId
- Type: SystemInt32
Id of the element to drop the moved node into. - insertBeforeNodeId (Optional)
- Type: SystemNullableInt32
Drop node before this one (if absent, the moved node becomes the last child of`targetNodeId`).
Return Value
Type:
TaskMoveToResponsereturns System.Threading.Tasks.Task<MoveToResponse>
See Also