Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
item
top
Collapse the table of content
Expand the table of content

item method

Gets a property that has been explicitly set in the current declaration block.

Document Object Model (DOM) Level 2 Style Specification, Section 1.2Internet Explorer 9

 

Syntax


 retVal = object.item(index);

Parameters

index [in]

Type: long

The index of the property name to retrieve.

Standards information

Remarks

The IHTMLCSSStyleDeclaration::item method can be used to iterate over all properties in this declaration block.

See also

Reference
IHTMLCSSStyleDeclaration::getPropertyPriority
IHTMLCSSStyleDeclaration::getPropertyValue
IHTMLCSSStyleDeclaration::length
IHTMLCSSStyleDeclaration::removeProperty
IHTMLCSSStyleDeclaration::setProperty

 

 

Community Additions

ADD
Show:
© 2015 Microsoft