Click or drag to resize

DOMClientGetContainerForNodeAsync Method

Version 101.0.180
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: 101.0.180.0 (101.0.180.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