Removes the expression from the specified property.
HRESULT removeExpression( BSTR propname, VARIANT_BOOL *pfSuccess );
- [in] BSTR that specifies the name of the property from which to remove an expression.
- [out, retval] Pointer to a VARIANT_BOOL that returns one of the following possible values:
- The expression was successfully removed.
- The expression was not removed.
Returns S_OK if successful, or an error value otherwise.
After the expression is removed from the specified property, the value of the property equals the last computed value of the expression. To remove expressions set by the IHTMLStyle2::setExpression method, use IHTMLStyle2::removeExpression.