DOMClientGetContainerForNodeAsync Method |
Version 112.3.0
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.Core (in CefSharp.Core.dll) Version: 112.3.0.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