IHTMLElement2::removeExpression method
This element is obsolete and should no longer be used. Removes the expression from the specified property.
Syntax
Boolean* removeExpression(
[in] String sPropertyName
);
Parameters
- sPropertyName [in]
-
String that specifies the name of the property from which to remove an expression.
Return value
C++
| Return value | Description |
|---|---|
|
The expression was successfully removed. |
|
The expression was not removed. |
JavaScript
Returns one of the following possible values:| Return value | Description |
|---|---|
|
The expression was successfully removed. |
|
The expression was not removed. |
Remarks
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 setExpression method, use removeExpression.
The following syntax sections show how to remove an expression from supported Cascading Style Sheets (CSS) attributes and DHTML Properties.
- Use this syntax to remove an expression from a read/write property or from an expando property.
object.removeExpression(sPropertyName)
- Use this syntax to remove an expression from a CSS attribute.
object.style.removeExpression(sPropertyName)
See also
- IHTMLElement2
- IHTMLStyle2
- runtimeStyle
- style
- Reference
- getExpression
- recalc
- Conceptual
- About Dynamic Properties
Show: