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
)
public:
Task<GetContainerForNodeResponse^>^ GetContainerForNodeAsync(
int nodeId,
String^ containerName = nullptr
)
Parameters
- nodeId
- Type: SystemInt32
nodeId - containerName (Optional)
- Type: SystemString
containerName
Return Value
Type:
TaskGetContainerForNodeResponsereturns System.Threading.Tasks.Task<GetContainerForNodeResponse>
See Also