Removes the host object specified by the name so that it is no longer accessible from JavaScript code in the Control.
Syntax
object. RemoveObject(ObjName As String)
The RemoveObject method syntax has these parts:
Element | Description |
Object | The object placeholder represents an OrdoWebView2 control |
ObjName | String, The name that will refer to the object to remove |