Click or drag to resize

DOMClientGetContainerForNodeAsync Method

Version 94.4.20
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: 94.4.20.0 (94.4.20.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