Partager via


getPropertyPriority method

Gets the priority of a Cascading Style Sheets (CSS) property if the priority is explicitly set in the current declaration block.

 

Syntax

 retVal = object.getPropertyPriority(bstrPropertyName);

Parameters

  • bstrPropertyName [in]
    Type: BSTR

    The name of the CSS property.

Standards information

Remarks

The priority of a CSS property is designated by, for example, the !important declaration.

See also

Reference

IHTMLCSSStyleDeclaration::getPropertyValue

IHTMLCSSStyleDeclaration::item

IHTMLCSSStyleDeclaration::length

IHTMLCSSStyleDeclaration::removeProperty

IHTMLCSSStyleDeclaration::setProperty