共用方式為


Attr property

Returns a reference to the constructor for objects derived from the Attr interface object.

 

Syntax

HRESULT value = object.get_Attr(IDispatch** p);

Property values

Type: Object

Reference to the constructor of the interface object.

Remarks

This member supports the Document Object Model (DOM) infrastructure and is not intended to be used directly from your code. Use the constructor.prototype property of an object derived from the Attr interface object to manage the behavior of Attr objects. For more information, see Advanced Object Creation (JScript).

The new operator cannot be used to create an instance of an Attr interface object.