Freigeben über


getPropertyValue method

Gets the value of a Cascading Style Sheets (CSS) property if it is explicitly set within the current declaration block.

 

Syntax

 retVal = object.getPropertyValue(bstrPropertyName);

Parameters

  • bstrPropertyName [in]
    Type: BSTR

    The name of the CSS property.

Standards information

See also

Reference

IHTMLCSSStyleDeclaration::getPropertyPriority

IHTMLCSSStyleDeclaration::item

IHTMLCSSStyleDeclaration::length

IHTMLCSSStyleDeclaration::removeProperty

IHTMLCSSStyleDeclaration::setProperty