Partager via


removeProperty method

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

 

Syntax

 retVal = object.removeProperty(bstrPropertyName);

Parameters

  • bstrPropertyName [in]
    Type: BSTR

    The name of the CSS property.

Standards information

See also

Reference

IHTMLCSSStyleDeclaration::getPropertyPriority

IHTMLCSSStyleDeclaration::getPropertyValue

IHTMLCSSStyleDeclaration::item

IHTMLCSSStyleDeclaration::length

IHTMLCSSStyleDeclaration::setProperty