OverlayClientHighlightNodeAsync Method |
Version 91.1.160
Highlights DOM node with given id or with the given JavaScript object wrapper. Either nodeId or
objectId must be specified.
Namespace:
CefSharp.DevTools.Overlay
Assembly:
CefSharp (in CefSharp.dll) Version: 91.1.160.0 (91.1.160.0)
Syntax public Task<DevToolsMethodResponse> HighlightNodeAsync(
HighlightConfig highlightConfig,
Nullable<int> nodeId = null,
Nullable<int> backendNodeId = null,
string objectId = null,
string selector = null
)
public:
Task<DevToolsMethodResponse^>^ HighlightNodeAsync(
HighlightConfig^ highlightConfig,
Nullable<int> nodeId = nullptr,
Nullable<int> backendNodeId = nullptr,
String^ objectId = nullptr,
String^ selector = nullptr
)
Parameters
- highlightConfig
- Type: CefSharp.DevTools.OverlayHighlightConfig
A descriptor for the highlight appearance. - nodeId (Optional)
- Type: SystemNullableInt32
Identifier of the node to highlight. - backendNodeId (Optional)
- Type: SystemNullableInt32
Identifier of the backend node to highlight. - objectId (Optional)
- Type: SystemString
JavaScript object id of the node to be highlighted. - selector (Optional)
- Type: SystemString
Selectors to highlight relevant nodes.
Return Value
Type:
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also