DOMClientRequestChildNodesAsync Method |
Version 130.1.90
Requests that children of the node with given id are returned to the caller in form of
`setChildNodes` events where not only immediate children are retrieved, but all children down to
the specified depth.
Namespace: CefSharp.DevTools.DOMAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax public Task<DevToolsMethodResponse> RequestChildNodesAsync(
int nodeId,
int? depth = null,
bool? pierce = null
)
public:
Task<DevToolsMethodResponse^>^ RequestChildNodesAsync(
int nodeId,
Nullable<int> depth = nullptr,
Nullable<bool> pierce = nullptr
)
Parameters
- nodeId Int32
- Id of the node to get children for.
- depth NullableInt32 (Optional)
- The maximum depth at which children should be retrieved, defaults to 1. Use -1 for theentire subtree or provide an integer larger than 0.
- pierce NullableBoolean (Optional)
- Whether or not iframes and shadow roots should be traversed when returning the sub-tree(default is false).
Return Value
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also