CoreWebView2.RemoveScriptToExecuteOnDocumentCreated(String) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Removes the corresponding JavaScript added via AddScriptToExecuteOnDocumentCreatedAsync(String) with the specified script ID.
public void RemoveScriptToExecuteOnDocumentCreated (string id);
member this.RemoveScriptToExecuteOnDocumentCreated : string -> unit
Public Sub RemoveScriptToExecuteOnDocumentCreated (id As String)
Parameters
- id
- String
The ID corresponds to the JavaScript code to be removed from the list of scripts.