setProperty method
Sets a property value and priority within the current declaration block.
Syntax
HRESULT retVal = object.setProperty(bstrPropertyName, bstrPropertyValue, bstrPropertyPriority);
Parameters
bstrPropertyName [in]
Type: BSTRThe name of the CSS property.
bstrPropertyValue [in]
Type: BSTRThe new value of the property.
bstrPropertyPriority [in]
Type: BSTRThe new priority of the property (for example, !important).
Return value
Type: HRESULT
This method can return one of these values.
Standards information
See also
Reference
IHTMLCSSStyleDeclaration::getPropertyPriority
IHTMLCSSStyleDeclaration::getPropertyValue
IHTMLCSSStyleDeclaration::item