constructor property

Returns a reference to the constructor of an object.

Internet Explorer 8



HRESULT value = object.get_constructor(** p);

Property values

Type: Object

A pointer to an IHTMLDOMConstructorCollection interface that receives a reference to the object's constructor.


An object's constructor initializes the object's properties and provides access to the prototype for the object's interface object. For more information, see Advanced Object Creation (JScript).