Previous topicNext topic
Help > Methods >
AddObject

AddObject Method

Adds the provided host object to script running in the Control with the specified name

Syntax

object. AddObject(ObjName As String, vObject)

The AddObject 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
vObject Variant, Object to add