Share via


attributes property

Retrieves a collection of attributes of the object.

 

Syntax

HRESULT value = object.get_attributes(IHTMLAttributeCollection3** p);

Property values

Type: Object

a zero-based array of attributes applied to the object.

Standards information

Remarks

The IHTMLDocument2::expando properties of an object are included in the attributes collection of the object as of Microsoft Internet Explorer 6. To access the IHTMLDocument2::expando properties of an object in earlier versions of Windows Internet Explorer, use the Microsoft JScript for...in construct.

See also

Attribute Differences in Internet Explorer 8