Previous topicNext topic
Help > Methods >
RemoveObject

RemoveObject Method

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
ObjectThe object placeholder represents an OrdoWebView2 control
ObjName String, The name that will refer to the object to remove