DOMClientGetContainerForNodeAsync Method |
Version 111.2.70
Returns the query container of the given node based on container query
conditions: containerName, physical, and logical axes. If no axes are
provided, the style container is returned, which is the direct parent or the
closest element with a matching container-name.
Namespace:
CefSharp.DevTools.DOM
Assembly:
CefSharp (in CefSharp.dll) Version: 111.2.70.0 (111.2.70.0)
Syntax public Task<GetContainerForNodeResponse> GetContainerForNodeAsync(
int nodeId,
string containerName = null,
PhysicalAxes? physicalAxes = null,
LogicalAxes? logicalAxes = null
)
public:
Task<GetContainerForNodeResponse^>^ GetContainerForNodeAsync(
int nodeId,
String^ containerName = nullptr,
Nullable<PhysicalAxes> physicalAxes = nullptr,
Nullable<LogicalAxes> logicalAxes = nullptr
)
Parameters
- nodeId
- Type: SystemInt32
nodeId - containerName (Optional)
- Type: SystemString
containerName - physicalAxes (Optional)
- Type: SystemNullablePhysicalAxes
physicalAxes - logicalAxes (Optional)
- Type: SystemNullableLogicalAxes
logicalAxes
Return Value
Type:
TaskGetContainerForNodeResponsereturns System.Threading.Tasks.Task<GetContainerForNodeResponse>
See Also