共用方式為


IHTMLDOMConstructor interface

Provides access to the constructor object and the prototype object of an object's interface object.

Members

The IHTMLDOMConstructor interface inherits from the IDispatch interface. IHTMLDOMConstructor also has these types of members:

  • Methods
  • Properties

Methods

The IHTMLDOMConstructor interface has these methods.

Method Description
defineGetter

Obsolete. Do not use.

Allows developers to create new or override existing DOM properties and functions using functionality implemented by a custom JScript function. The custom function is used to return a value from a property or function.

defineSetter

Obsolete. Do not use.

Allows developers to create new or override existing DOM properties and functions using functionality implemented by a custom JScript function. The custom function is used to set the value of a property or a function.

LookupGetter

Allows developers to retrieve a custom JScript function associated with a DOM property. The custom function is used to return a value from a property or function.

LookupSetter

Allows developers to retrieve a custom JScript function associated with a DOM property. The custom function is used to set a value of a property or function.

 

Properties

The IHTMLDOMConstructor interface has these properties.

Property Description

constructor

Returns a reference to the constructor of an object.

 

Requirements

Minimum supported client

Windows XP with SP2

Minimum supported server

Windows Server 2003

Header

Mshtml.h

IDL

Mshtml.idl

DLL

Mshtml.dll

See also

IDispatch