Click or drag to resize

DOMClientGetContainerForNodeAsync Method

Version 96.0.142
Returns the container of the given node based on container query conditions. If containerName is given, it will find the nearest container with a matching name; otherwise it will find the nearest container regardless of its container name.

Namespace:  CefSharp.DevTools.DOM
Assembly:  CefSharp (in CefSharp.dll) Version: 96.0.142.0 (96.0.142.0)
Syntax
public Task<GetContainerForNodeResponse> GetContainerForNodeAsync(
	int nodeId,
	string containerName = null
)

Parameters

nodeId
Type: SystemInt32
nodeId
containerName (Optional)
Type: SystemString
containerName

Return Value

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